Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by