Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Rearranging column of m by 1 matrix.

1 visualizzazione (ultimi 30 giorni)
dipak sanap
dipak sanap il 21 Ott 2015
Chiuso: MATLAB Answer Bot il 20 Ago 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.

Risposte (2)

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

Jan
Jan il 21 Ott 2015
reshape(D, 95, [])

Questa domanda è chiusa.

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by