From: Bruno Luong on
% You can use SplitVec here
% http://www.mathworks.com/matlabcentral/fileexchange/24255

v=[1 5 6 7 8 9 0 4 5 6 0 44 45 46 47 48 49];

[groups lgt] = SplitVec(v,'cons','split','length');
v = [groups{lgt>=5}]

% Bruno