From: the cyclist on
"frank millo" <frank.millo(a)gmail.com> wrote in message <hgonoq$o3d$1(a)fred.mathworks.com>...
> Hello,
>
> I have a Nx3 matrix (N>10e5). I would like to &#8220;thin out&#8221; the point cloud somewhat and unclutter it by extracting only every other or 5th point and saving it.
> Is there a way to do this without a loop?
>
> Thanks for the help,
>
> FM

>> M1 = rand(100000,3); % original matrix
>> M2 = M1(5:5:end,:); % thinned matrix

the cyclist