decimate function

Decimate or downsample a signal