Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Rearranging column of m by 1 matrix.

1 vue (au cours des 30 derniers jours)
dipak sanap
dipak sanap le 21 Oct 2015
Clôturé : MATLAB Answer Bot le 20 Août 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.

Réponses (2)

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

Jan
Jan le 21 Oct 2015
reshape(D, 95, [])

Cette question est clôturée.

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by