create a 2 dimensional table from a table containing multidimensional entries

5 次查看(过去 30 天)
I have the following table:
I want to create a subtable which contains e.g. the elements (:,1,2,1,2):
which I could use to print with writetable
Is there an elegant way to do this?

回答(1 个)

Eric Sofen
Eric Sofen 2021-5-4
Check out the splitvars function.

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by