A script to create a single matrix from matrix in different matlab files
Show older comments
Hi Everyone,
Suppose I have many different Matlab files located in a folder. Let's say these files are called FileName_1, FileName_2, FileName_n.
Each of these files contains a vector A of equal dimensions (c,1).
What I wish to do is create a single matrix, that consists of all the different vector A in the different files.
How might I do this, so that the first column in the new matrix is vector A from FileName_1, the second is vector A from FileName_2, and so on?
Kind regards,
Ulrik.
Accepted Answer
More Answers (1)
Sean de Wolski
on 29 Jun 2011
0 votes
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!