how to rearrange an array? rows to columns?

조회 수: 1 (최근 30일)
mary
mary 2013년 3월 27일
ex: a=[1 1 1; 2 2 2; 3 3 3]
to
aa=[1 2 3; 1 2 3; 1 2 3]

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 27일

추가 답변 (1개)

John Lipsius
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 !!!

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by