Effacer les filtres
Effacer les filtres

How to reshape a (1*200) matrix to (25*8)matrix?

1 vue (au cours des 30 derniers jours)
Sarah A
Sarah A le 5 Sep 2019
Commenté : Sarah A le 5 Sep 2019
Hello,
Suppose that we already have a (1*200) matrix, how we could reshape it to a (25*8) matrix?
Regards,
  2 commentaires
Adam
Adam le 5 Sep 2019
Modifié(e) : Adam le 5 Sep 2019
What is wrong with the obvious:
reshape( myMatrix, [25 8] )
where myMatrix is your 1x200 matrix? It depends, of course, whether you wnat it reshaped along columns or rows first, but you didn't specify.
Sarah A
Sarah A le 5 Sep 2019
Thank you.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Distribution Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by