how to make a Mx1xN matrix to MxN
Mostra commenti meno recenti
just as the title.
Thanks in advanced.
Risposte (2)
Fangjun Jiang
il 29 Ago 2011
a=rand(3,1,2);
b=reshape(a,3,2);
or
c=squeeze(a);
Florin Neacsu
il 29 Ago 2011
2 voti
Hi,
You can also try squeeze.
Regards, Florin
Categorie
Scopri di più su Resizing and Reshaping Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!