Function Reference
— Function File: setxor (a, b)
— Function File: setxor (a, b, 'rows')

Return the elements exclusive to a or b, sorted in ascending order. If a and b are both column vectors return a column vector, otherwise return a row vector. — Function File: [c, ia, ib] = setxor (a, b)

Return index vectors ia and ib such that a==c(ia) and b==c(ib).