Extract columns from matrices

I have a large number of .mat files, and each one contains three matrices named "matrx_1", "matrix_2" and "matrix_3" with different size.
I would like to extract, for example, the 6th and the 9th columns of each matrix "matrix_1" in two different arrays and then plot them. At the same time, I would like to repeat this operation for the 8th column of the matrix "matrix_2" and with the 10th column of matrix "matrix_3".
How can I do this? Thanks

3 件のコメント

Adam
Adam 2019 年 10 月 14 日
編集済み: Adam 2019 年 10 月 14 日
What is wrong with just doing the obvious - load the mat files in a loop, index into the relevant matrices, store those columns and plot at the end? Are the matrices too big?
Gaetano Pavone
Gaetano Pavone 2019 年 10 月 14 日
I'm a beginner in Matlab, could you post your suggestion please?
Stephen23
Stephen23 2019 年 10 月 14 日

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

製品

リリース

R2019b

質問済み:

2019 年 10 月 13 日

コメント済み:

2019 年 10 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by