intersect between a double and a (complicated) cell array
이전 댓글 표시
I have a double array A

and I have a cell array B

I want to extract the values in array A, that also are contained in the sixth column of array B.
Ηow this can be achieved?
댓글 수: 3
Walter Roberson
2021년 11월 6일
The 6th column contains cell entries, but you did not tell us anything about the structure of those cell entries.
What output structure do you need? Do you want to know the elements of A that appear anywhere in any entry in column 6? Do you want to know, for each row of B, which elements of A that appear anywhere in any entry in that row of column 6? Do you need a breakdown of locations per entry in A ?
Ioannis Vourvachakis
2021년 11월 6일
편집: Ioannis Vourvachakis
2021년 11월 6일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!