Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: multi array delimiters (what are the)?
Replies: 7   Last Post: Jan 18, 2005 3:32 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Peter J. Acklam

Posts: 782
Registered: 12/7/04
Re: multi array delimiters (what are the)?
Posted: Jan 18, 2005 2:33 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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?




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.