how to make a Mx1xN matrix to MxN
Mostrar comentarios más antiguos
just as the title.
Thanks in advanced.
Respuestas (2)
Fangjun Jiang
el 29 de Ag. de 2011
a=rand(3,1,2);
b=reshape(a,3,2);
or
c=squeeze(a);
Florin Neacsu
el 29 de Ag. de 2011
2 votos
Hi,
You can also try squeeze.
Regards, Florin
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!