Effacer les filtres
Effacer les filtres

How to select the values in 3 column matrices at a time?

1 vue (au cours des 30 derniers jours)
Haritha
Haritha le 10 Déc 2018
Modifié(e) : madhan ravi le 10 Déc 2018
Hi,
I have three matrices
a =[0.1; 0.3; 0.4; 0.6; 0.5];
b =[0.2; 0.1; 0.6; 0.2; 0.8];
b =[0.5; 0.2; 0.3; 0.6; 0.7];
I want to select [a11,b11,c11] , [a21,b21.c21] from all the three matrices and so an at a time. Please let me know if anyone of you know this.

Réponses (1)

madhan ravi
madhan ravi le 10 Déc 2018
Modifié(e) : madhan ravi le 10 Déc 2018
put the column vectors in a matrix and then extract
abc=[a b c]
abc(1,:)
abc(2,:)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by