how to stack 2 dimensional arrays into 3 dimensional aarays?
Show older comments
I have Nine(9) , 2-D arrays of size 3200x8.
I want to stack them into a 3D array so that I could have a final aaray of size 3200x8x9.
Please help!
Accepted Answer
More Answers (1)
darova
on 28 Aug 2019
1 vote
Use cat()
4 Comments
Hassan Ashraf
on 28 Aug 2019
Stephen23
on 28 Aug 2019
"Concatenating arrays does not change dimenions..."
Which is not what you describe in your question.
"... it only concatenates arrays and matrices"
Which is exactly what you describe in your question.
Hassan Ashraf
on 28 Aug 2019
Categories
Find more on Creating and Concatenating Matrices 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!