Convert Z dimension to X dimension

2 visualizaciones (últimos 30 días)
Anum Ahmed
Anum Ahmed el 30 de Sept. de 2019
Respondida: Adam el 30 de Sept. de 2019
I have an array of size (1000,1,5) elements. I want to append all the Z dimension elements to the X dimension. As in, I want to convert the array to (5000,1) elements. How should I do it?
Many Thanks
Anum

Respuesta aceptada

Adam
Adam el 30 de Sept. de 2019
myArray(:)
will do for that kind of reshape, where myArray is obviously the array you start with.

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by