How to convert a column matrix 200 X 1 to a matrix 10 X 20 mat lab
조회 수: 2 (최근 30일)
이전 댓글 표시
Good morning.
How to convert a column matrix 200 X 1 to a matrix 10 X 20
Thank you
채택된 답변
James Tursa
2018년 3월 12일
편집: James Tursa
2018년 3월 12일
Either
result = reshape(your_matrix,10,20)
or this
result = reshape(your_matrix,20,10).'
depending on how you want the elements ordered in the result.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!