how to create tables with multiple dimensions?

3 views (last 30 days)
Jack Xiao
Jack Xiao on 11 Sep 2021
Commented: Jack Xiao on 17 Sep 2021
hi,
i have 5 tables and each table is with size 9x2, I need to make them together like 5x9x2.
how to create tables with multiple dimensions?

Answers (1)

Walter Roberson
Walter Roberson on 11 Sep 2021
That is not possible in MATLAB. Tables are strictly 2D objects in MATLAB.
It is possible to for a table to contain tables... but that would be pretty inefficient.
You are probably best to make a 9 x (2*5) table

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by