how to make a Mx1xN matrix to MxN
Afficher commentaires plus anciens
just as the title.
Thanks in advanced.
Réponses (2)
Fangjun Jiang
le 29 Août 2011
a=rand(3,1,2);
b=reshape(a,3,2);
or
c=squeeze(a);
Florin Neacsu
le 29 Août 2011
2 votes
Hi,
You can also try squeeze.
Regards, Florin
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!