storing the array in a 3D array?

2 views (last 30 days)
studentmatlaber on 9 Mar 2021
Answered: Star Strider on 9 Mar 2021
I have 24 arrays. These arrays consist of a single line, but each string is different in length. I want to store these arrays inside a three-dimensional array using a loop. How can the code be written?

Answers (1)

Star Strider
Star Strider on 9 Mar 2021
I would use a cell array.
See the documentation for details.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!