how to make a Mx1xN matrix to MxN

3 ビュー (過去 30 日間)
zhang
zhang 2011 年 8 月 29 日
just as the title.
Thanks in advanced.

回答 (2 件)

Fangjun Jiang
Fangjun Jiang 2011 年 8 月 29 日
a=rand(3,1,2);
b=reshape(a,3,2);
or
c=squeeze(a);

Florin Neacsu
Florin Neacsu 2011 年 8 月 29 日
Hi,
You can also try squeeze.
Regards, Florin

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by