Rearranging column of m by 1 matrix.

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.

답변 (2개)

Thorsten
Thorsten 2015년 10월 21일

0 개 추천

reshape(reshape(D, 2, [])', 1, [])

댓글 수: 2

dipak sanap
dipak sanap 2015년 10월 21일
Hey Thorsten, Thank you very much for reply, I was oblivious to reshape command. It works fine now.
Thorsten
Thorsten 2015년 10월 21일
편집: Thorsten 2015년 10월 21일
Hey dipak, that's fine. Please formally accept my answer.
Jan
Jan 2015년 10월 21일

0 개 추천

reshape(D, 95, [])

이 질문은 마감되었습니다.

태그

아직 태그를 입력하지 않았습니다.

질문:

2015년 10월 21일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by