フィルターのクリア

Do a matrix,array

1 回表示 (過去 30 日間)
Giannakis Stoukas
Giannakis Stoukas 2015 年 5 月 4 日
回答済み: Star Strider 2015 年 5 月 4 日
I have a matrix A=[5 4 3; 1 8 2; 6 9 7] and i want to insert it into one array B=[5 4 3 1 8 2 6 9 7].How i will do it?

採用された回答

Star Strider
Star Strider 2015 年 5 月 4 日
This works:
B = reshape(A', 1, []);

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by