How to show output in multidimensional array?

1 vue (au cours des 30 derniers jours)
Grace
Grace le 12 Juin 2014
I have an output shows me:
udd =
[4x2 double]
[4x2 double]
where
udd{1}=
1 2
2 4
3 1
4 3
udd{2}=
1 3
2 1
3 4
4 2
What can i do if i wan my output shows me in a multidimensional array? For example,
udd(:,:,1)=
1 2
2 4
3 1
4 3
udd(:,:,2)=
1 3
2 1
3 4
4 2

Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 12 Juin 2014
udd2 = cat(3,udd{:});

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by