Extract columns from matrices

2 vues (au cours des 30 derniers jours)
Gaetano Pavone
Gaetano Pavone le 13 Oct 2019
Commenté : Stephen23 le 14 Oct 2019
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 commentaires
Gaetano Pavone
Gaetano Pavone le 14 Oct 2019
I'm a beginner in Matlab, could you post your suggestion please?
Stephen23
Stephen23 le 14 Oct 2019

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by