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

1 Ansicht (letzte 30 Tage)
Sarah A
Sarah A am 5 Sep. 2019
Kommentiert: Sarah A am 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 Kommentare
Adam
Adam am 5 Sep. 2019
Bearbeitet: Adam am 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 am 5 Sep. 2019
Thank you.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by