matlab中如何用不同矩阵中的列构成新矩阵。

比如A=[1,2]
B=[3,4]
上边均是一行两列
新矩阵
C=[1,4]

 採用された回答

xapopi
xapopi 2022 年 11 月 19 日

0 投票

你这直接取出A B的列然后构成矩阵C不就好了吗
C=[A(:,1),b(:,2)]

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB 快速入门 についてさらに検索

タグ

質問済み:

2022 年 11 月 19 日

回答済み:

2022 年 11 月 19 日

Community Treasure Hunt

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

Start Hunting!