Ok, I guess it was working with 2015b and 2016a, and it was doing weird things before 2015a.
(the interesect function now returns the indices in a different order, the outputs are sorted by default)
Ok, I guess it was working with 2015b and 2016a, and it was doing weird things before 2015a.
(the interesect function now returns the indices in a different order, the outputs are sorted by default)