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