Downsample
Reduces the sampling frequency of the input signal by removing intermediate values.
Description
The Downsample block reduces the sampling rate of the input signal by removing intermediate values. The block treats each input element as a separate channel and resamples each such channel separately. The output sampling rate is K
times lower than the input sampling rate, where K
is the value of the Downsample factor parameter. The Downsample block oversamples the input by discarding K-1
values after each output value.
Ports
Parameters
Downsample factor - downsampling factor
2 (by default)
| `positive number `
An integer factor K
specifying the ratio of the input sampling rate to the output sampling rate.
Initial conditions - initial value
0 (by default)
| valid scalar
| multiple
The initial value of the output signal. A scalar or array of the same size as the input is allowed.