storing the array in a 3D array?

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?

回答(1 个)

Star Strider
Star Strider 2021-3-9

0 个投票

I would use a cell array.
See the documentation for details.

类别

在 帮助中心 和 File Exchange 中查找有关 Cell Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by