Borrar filtros
Borrar filtros

How to show output in multidimensional array?

3 visualizaciones (últimos 30 días)
Grace
Grace el 12 de Jun. de 2014
Respondida: Andrei Bobrov el 12 de Jun. de 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

Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 12 de Jun. de 2014
udd2 = cat(3,udd{:});

Más respuestas (0)

Categorías

Más información sobre Automotive Applications en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by