how to make a Mx1xN matrix to MxN

3 Ansichten (letzte 30 Tage)
zhang
zhang am 29 Aug. 2011
just as the title.
Thanks in advanced.

Antworten (2)

Fangjun Jiang
Fangjun Jiang am 29 Aug. 2011
a=rand(3,1,2);
b=reshape(a,3,2);
or
c=squeeze(a);

Florin Neacsu
Florin Neacsu am 29 Aug. 2011
Hi,
You can also try squeeze.
Regards, Florin

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by