Filter löschen
Filter löschen

how to rearrange an array? rows to columns?

1 Ansicht (letzte 30 Tage)
mary
mary am 27 Mär. 2013
ex: a=[1 1 1; 2 2 2; 3 3 3]
to
aa=[1 2 3; 1 2 3; 1 2 3]

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 27 Mär. 2013

Weitere Antworten (1)

John Lipsius
John Lipsius am 27 Mär. 2013
>> 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!

Translated by