필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Rearranging column of m by 1 matrix.

조회 수: 1 (최근 30일)
dipak sanap
dipak sanap 2015년 10월 21일
마감: MATLAB Answer Bot 2021년 8월 20일
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일
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일
reshape(D, 95, [])

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

태그

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

Community Treasure Hunt

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

Start Hunting!

Translated by