Concatenating a range of variables into a 3D array
Show older comments
I need to concatenate a range of variables into a 3D array. I have loaded my csv files into my workspace and can concatenate the data using "MyArray = cat(3, x1, x2, x3);" where x1,x2,x3 are the names of the variables
This gives the array structure I require however I have 100 csv files i.e. x1,x2,.....,x100 and I would like specify the range of variables rather than actually entering all 100 variables.
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!