This MATLAB function decreases the sampling rate of x by keeping every nth sample starting with the first sample.
www.mathworks.com