Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Rearranging column of m by 1 matrix.

1 Ansicht (letzte 30 Tage)
dipak sanap
dipak sanap am 21 Okt. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have m by 1 matrix and 95 is the factor of m, I want to rearrange it as, First 95 rows as a first column, 96 to 190 as second column and so on.
Any help would be appreciated. Thank you very much.

Antworten (2)

Thorsten
Thorsten am 21 Okt. 2015
reshape(reshape(D, 2, [])', 1, [])
  2 Kommentare
dipak sanap
dipak sanap am 21 Okt. 2015
Hey Thorsten, Thank you very much for reply, I was oblivious to reshape command. It works fine now.
Thorsten
Thorsten am 21 Okt. 2015
Bearbeitet: Thorsten am 21 Okt. 2015
Hey dipak, that's fine. Please formally accept my answer.

Jan
Jan am 21 Okt. 2015
reshape(D, 95, [])

Diese Frage ist geschlossen.

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by