Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
도현 김
도현 김 le 15 Nov 2021
Commenté : 도현 김 le 15 Nov 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?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by