Thx, setdiff is what I want. symdiff seems to do symdiff(A,B)=sort([setdiff(A,B),setdiff(B,A)])
Am Samstag, 16. April 2016 18:05:39 UTC+2 schrieb digxx: > > Say I have 2 arrays > A=[1,2,3,4,5,6] > B=[1,6,7] > and the resulting array > C=[2,3,4,5] = A NOT B results from a logical operation > Is there already something implemented like this? >
