フィルターのクリア

change matrix form and arrangement

3 ビュー (過去 30 日間)
mohammed hussein
mohammed hussein 2021 年 1 月 20 日
コメント済み: mohammed hussein 2021 年 1 月 20 日
Hi all
i would like to get some help in this problem
i have very large matrix like this small example
A1=[1.1 2.1 3.2 4.1 5.3 6.2]
A1=
1.1 2.1 3.2 4.1 5.3 6.2
i want to change A1 to be like A2
A 2=
1.1 3.2 5.3
2.1 4.1 6.2
i maen the second number in A1 be under the first one and so on for complete matrix
thank you very much for helping

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2021 年 1 月 20 日
reshape(A1,[2,3])
  1 件のコメント
mohammed hussein
mohammed hussein 2021 年 1 月 20 日
thank you very much

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

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by