|
|
Re: multi array delimiters (what are the)?
Posted:
Jan 18, 2005 2:33 AM
|
|
"Clarence Perkin" <perkinclarence@yahoo.com> wrote:
> Inside matlab I can crate a 3D array (A) from my 2D array data > files, then save it as A.mat, then re-open and work with it as I > please. So, I think that saving the A (to A.mat) file delimits > the 2D arrays it was constructed from.
The .mat file contains information about the size of the array. When the size is known there is no need for a delimiter at all. When MATLAB loads the mat-file, it read the elements and then sets the size of the array to whatever size was specified in the mat-file.
MATLAB has no delimiter for separating pages (or slices) of a 3D array, so you can't write a text file which, when loaded, will give you a 3D array. Of course you can create an m-file which, when executed, will give a 3D array, but that's not what you want, is it?
Peter
-- Why is the word "random" always spelt the same way?
|
|