フィルターのクリア

Changing the Structure of a Matrix.

1 回表示 (過去 30 日間)
Jack
Jack 2015 年 3 月 19 日
回答済み: Sean de Wolski 2015 年 3 月 19 日
Hi,
If I have a matrix of lets say [4x3] i.e
1 2 3
4 5 6
7 8 9
10 11 12
how can I change this to a [12x1] matrix i.e
1 2 3 4 5 6 7 8 9 10 11 12
Thanks.

採用された回答

Sean de Wolski
Sean de Wolski 2015 年 3 月 19 日
y = reshape(x.',1,[])

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by