about Find difference set.

Hi, I have two matrices(same number of columns), M1 and M2. M2 is a set of subset of rows in M1. Is there a function in matlab that I can directly get M1-M2={set of rows in M1 but not set of rows in M2}
Thanks.

 채택된 답변

Sean de Wolski
Sean de Wolski 2013년 1월 8일

0 개 추천

doc setxor
Use the 'rows' flag.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Language Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by