how to make a Mx1xN matrix to MxN

3 visualizzazioni (ultimi 30 giorni)
zhang
zhang il 29 Ago 2011
just as the title.
Thanks in advanced.

Risposte (2)

Fangjun Jiang
Fangjun Jiang il 29 Ago 2011
a=rand(3,1,2);
b=reshape(a,3,2);
or
c=squeeze(a);

Florin Neacsu
Florin Neacsu il 29 Ago 2011
Hi,
You can also try squeeze.
Regards, Florin

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by