필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
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

채택된 답변

Ridwan Alam
Ridwan Alam 2020년 1월 30일
new_array = second_array(first_array,:)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by