How can I create a new matrix from certain columns from another matrix?

39 ビュー (過去 30 日間)
John Hunt
John Hunt 2017 年 10 月 13 日
コメント済み: John Hunt 2017 年 10 月 13 日
If I have a large matrix (60000,51) and I want the first three columns and the 37-42 columns in a new matrix how can I do that?

採用された回答

OCDER
OCDER 2017 年 10 月 13 日
NewMat = LargeMat(:, [1:3 37:42]);

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by