Convert row or coloumn matrix into rowXcoloumn matrix

 Akzeptierte Antwort

David K.
David K. am 26 Sep. 2019
I would do it as such:
P = 1:10;
out = reshape(P,[2,5]);
out = out'; % Take transpose

Weitere Antworten (0)

Kategorien

Produkte

Version

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by