Downsampling by applying a simple integer decimation.
Make sure that no signal is present in frequency bands above the new Nyquist frequency (samp_rate/2/decimation_factor), e.g. by applying a lowpass filter beforehand! New sampling rate is old sampling rate divided by decimation_factor.
Parameters: |
|
---|---|
Returns: | Downsampled data (array length: old length / decimation_factor) |