Hello, I have matrix called A 74X2 and I need 2 Matrix B,C 74X1 each one.
How I can split matrix A to B (column 1 of A) and C (column 2 of A)?
Thank you!

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 1 月 3 日
編集済み: Azzi Abdelmalek 2016 年 1 月 3 日

2 投票

B=A(:,1)
C=A(:,2)
Read the documentation

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMultidimensional Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by