How can I select rows in an array based on the values in the first column of another array?

2 vues (au cours des 30 derniers jours)
Hi suppose I have a column of values like :
Screenshot 2020-01-31 at 12.02.44 AM.png
How do I select rows in another array based on the array above, Example: row 46, 47 ,48, 49 .... except for row 52
Screenshot 2020-01-31 at 12.03.22 AM.png

Réponse acceptée

Ridwan Alam
Ridwan Alam le 30 Jan 2020
new_array = second_array(first_array,:)

Plus de réponses (0)

Catégories

En savoir plus sur Data Types 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