How to concatenate rows ?

61 ビュー (過去 30 日間)
Andre
Andre 2014 年 4 月 25 日
回答済み: Azzi Abdelmalek 2014 年 4 月 25 日
Hi, there is a "not looping" way to concatenate rows into a 1 line ?
Example:
A=[[ 1 2 3 4 ] ;
[ 5 6 7 8 ] ;
[ 9 10 11 12 ]];
To:
A=[ 1 2 3 4 5 6 7 8 9 10 11 12 ]
Thanks,
André

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 25 日
reshape(A',1,[])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by