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]

采纳的回答

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 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by