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?

Catégories

Produits

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by