Prev: Serial communication blocks of real-time windows target do notwork in real-time
Next: Reduce elements in a point cloud
From: Andy on 21 Dec 2009 16:12 "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 “thin out” 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 % For example: n=10002; A=1:n; v=1:floor(n/5); v=5*v; A=A(v); |