how to rearrange an array? rows to columns?
조회 수: 1 (최근 30일)
이전 댓글 표시
ex: a=[1 1 1; 2 2 2; 3 3 3]
to
aa=[1 2 3; 1 2 3; 1 2 3]
댓글 수: 0
채택된 답변
추가 답변 (1개)
John Lipsius
2013년 3월 27일
>> a'
ans =
1 2 3
1 2 3
1 2 3
IT'S THE TRANSPOSE of a matrix. Check out Linear Algebra !!!
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!