Convert row or coloumn matrix into rowXcoloumn matrix

 Risposta accettata

I would do it as such:
P = 1:10;
out = reshape(P,[2,5]);
out = out'; % Take transpose

Più risposte (0)

Categorie

Scopri di più su Operators and Elementary Operations in Centro assistenza e File Exchange

Prodotti

Release

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by