How can I select rows in an array based on the values in the first column of another array?
9 views (last 30 days)
Show older comments
Commented: tinkiewinkie on 30 Jan 2020
Hi suppose I have a column of values like :
How do I select rows in another array based on the array above, Example: row 46, 47 ,48, 49 .... except for row 52
Ridwan Alam on 30 Jan 2020
new_array = second_array(first_array,:)
More Answers (0)
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!