How to show output in multidimensional array?

3 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by