Hi everybody,


can someone help me with the following problem? J

I need to use 3D matrices (matrices with 3 indices), like those in MATLAB. A predefined class in VNL doesn’t exist so I’m using a vcl_vector of vnl_matrix.

Now the problem is that I would like to save these vcl_vector of vnl_matrix in a *.mat file as three dimensional MATLAB matrices.

Can you suggest me how to do that? Do you have a more efficient implementation of 3D matrices (average dimension: 50x50x2000 double) ?

Many many thanks