create a 2 dimensional table from a table containing multidimensional entries

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?

Categories

Products

Release

R2020b

Asked:

on 26 Apr 2021

Answered:

on 4 May 2021

Community Treasure Hunt

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

Start Hunting!