From: Bruno Luong on 26 Feb 2010 15:43 % 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
|
Pages: 1 Prev: Random Numbers in Simulink Next: Compressing frames prior to saving |