create a 2 dimensional table from a table containing multidimensional entries

5 views (last 30 days)
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?

Answers (1)

Eric Sofen
Eric Sofen on 4 May 2021
Check out the splitvars function.

Categories

Find more on Tables in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!