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: Loading and saving 63 .mat files (4*4 each) in an matrix
Replies: 1   Last Post: Feb 14, 2013 3:15 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
dpb

Posts: 8,231
Registered: 6/7/07
Re: Loading and saving 63 .mat files (4*4 each) in an matrix
Posted: Feb 14, 2013 3:15 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 2/13/2013 8:34 PM, sphoorti shellikeri wrote:
> Hello,
>
> I have 63 .mat files.
> Each file has 16 floating point numbers (4*4 matrix)
> I have to read each of these 63 files and then save them in a big matrix
> (63*4 by 4) matrix.
>
> The files are named sequencially as filename01.mat ... filename63.mat
>
> Load command works if I'm loading just one file.
> s = load('data01.mat','-ascii')
> I was trying to use wild mask inside a for loop, but it didn'nt work.
>
> Please suggest a method/command that does that.
> Your help is greatly appreciated.


doc dir

--




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

[Privacy Policy] [Terms of Use]

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