How do i convert this data

1 回表示 (過去 30 日間)
Aycan Nehir
Aycan Nehir 2019 年 11 月 15 日
コメント済み: Aycan Nehir 2019 年 11 月 15 日
I have a data as like A=[1 2 3;4 5 6;7 8 9] How can i convert it to B=[1 2 3 4 5 6 7 8 9]
A=1 2 3
4 5 6
7 8 9
B=horzcat(A(1,:),A(2,:),A(3,:)) i made this. its ok but my original data has too large dimension. i cant write as like this one by one.
Is there anybody help about that ?

採用された回答

Walter Roberson
Walter Roberson 2019 年 11 月 15 日
reshape(A.',1,[])
  1 件のコメント
Aycan Nehir
Aycan Nehir 2019 年 11 月 15 日
That's what i want. Thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by