How to trim down data?
Afficher commentaires plus anciens
a=[1;2;3;44;15;6;7;82;9] , b=[1;2;3;3;3;3;1;3;3] and c=[14;28;36;44;5;6;12;21;19]. I would want use this selection criteria; select only the elements of b which are =3 and their corresponding values in a and c.
How can I trim this data down to a=[3;44;15;6;82;9], b=[3;3;3;3;3;3] and c=[36;44;5;6;21;19]?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!