Convert row or coloumn matrix into rowXcoloumn matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi
I need to convert row matrix
into
How to convert like this. I am struck with logic.
0 commentaires
Réponse acceptée
David K.
le 26 Sep 2019
I would do it as such:
P = 1:10;
out = reshape(P,[2,5]);
out = out'; % Take transpose
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!