How can i reshape a matrix

1 vue (au cours des 30 derniers jours)
Khaled
Khaled le 7 Août 2022
Commenté : Khaled le 7 Août 2022
I have a 24x6x47 matrix such that 24x6 matrix repeated 47 times
I want to reshape it to matrix 24x47 as Rows and 6 columns

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Août 2022
reshape(permute(M1, [1 3 2]),[],size(M1,2))
  1 commentaire
Khaled
Khaled le 7 Août 2022
I am a begginer!
Yes, it works
Thanks alot !

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by