how to rearrange an array? rows to columns?
Show older comments
ex: a=[1 1 1; 2 2 2; 3 3 3]
to
aa=[1 2 3; 1 2 3; 1 2 3]
Accepted Answer
More Answers (1)
John Lipsius
on 27 Mar 2013
>> a'
ans =
1 2 3
1 2 3
1 2 3
IT'S THE TRANSPOSE of a matrix. Check out Linear Algebra !!!
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!