Вот еще один способ:
indx_11 = find(m(:,2) == 11);
% Find all the places where change occurs which will miss the 1st element
indxDiff = (diff(m(:,1))~=0);
% Include the 1st element
m(intersect(find([1; indxDiff]), indx_11),1);
Работает и для следующего вектора.
m1 = [0,1,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2; ...
11,11,22,22,33,33,11,11,22,22,33,33,11,11,22,22,33,33,11,11,22,22,33,33,11,11,22,22,33,33,11,11,22,22,33,33]';