Borrar filtros
Borrar filtros

How can I change the order of an N-dimensional array?

1 visualización (últimos 30 días)
도현 김
도현 김 el 15 de Nov. de 2021
Comentada: 도현 김 el 15 de Nov. de 2021
I have an array of size (300*1*6*1000).
But I want to change the order of this array as below.
(300*1*6*1000) >> (6*300*1*1000)
How can I change it, sir?

Respuesta aceptada

Jan
Jan el 15 de Nov. de 2021
X = permute(X, [3,1,2,4]);

Más respuestas (0)

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by