How to concatenate several matrices into one matrix?
Show older comments
Hello all,
I have 3696 matrices with different number of rows but similar number of columns. Is there a way to concatenate them? I know how to do this with two matrices by C = [A B], but what about these many?
Thank you, Negar
Accepted Answer
More Answers (2)
Image Analyst
on 17 Jan 2015
1 vote
It seems doubtful that you'd have 3696 uniquely named variables in your program so I guess you must be planning on retrieving these matrices from files. In that case, use the code in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
Negar
on 18 Jan 2015
0 votes
Categories
Find more on Logical 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!