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 !!!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!