Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
Sarah A
Sarah A il 5 Set 2019
Commentato: Sarah A il 5 Set 2019
Hello,
Suppose that we already have a (1*200) matrix, how we could reshape it to a (25*8) matrix?
Regards,
  2 Commenti
Adam
Adam il 5 Set 2019
Modificato: Adam il 5 Set 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Data Distribution Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by