Using find() to identify values in an array that are present in another array
이전 댓글 표시
I am trying to extract values in rows 2 and 3 from an array when the corresponding value in row 1 is equal to a certain value present in a list (another array). I am attempting to do this with find(), and am wondering if there is a way to incorporate ismember(), but I am no sure how to proceed. I have attached screenshot of my main array below. The values change from left to right over 7136 columns, but the increments are very fine. Thanks!
채택된 답변
추가 답변 (1개)
댓글 수: 4
Dr.Vini42
2017년 2월 21일
Image Analyst
2017년 2월 21일
You can leave it. I mean there are already over a hundred thousand other questions in there, so what's one more? Plus it might be useful to someone.
Dr.Vini42
2017년 2월 21일
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!