From: Oscar Lopez on
I have several functions which depend on three variables. Each
variable is stored in a vector and the function is computed by looping
over the three vectors.

I am thinking in the best way of storing the information from a
programming and performance point of view. Two possibilities come to
my mind:

1. Matrix with three indexes A(i,j,k)
2. Cell vector in which every element of the cell is a matrix with two
indexes A{i}(j,k)

What is the MATLAB recommended way of programming this situation? Are
there any recommendations regarding three index matrices or cells?

TIA
 | 
Pages: 1
Prev: Histogram plotting
Next: longer colormaps