Hello Everyone, I have 2 matrices with dimensions A = 707*1 and B= 404*1, where B is a subset of A. I would like to compare the two matrices, and delete the common elements of A and B and create a 3rd matrix with unique elements of A. Could someone help me in this regard?
Thanks

 채택된 답변

Guillaume
Guillaume 2018년 2월 20일

1 개 추천

Afiltered = setdiff(A, B)

추가 답변 (0개)

카테고리

Community Treasure Hunt

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

Start Hunting!

Translated by