The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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  

Posts: 9,850
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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.