User`s guide
Downsample
5-147
Downsample factor
The integer factor, K, by which to decrease the input sample rate.
Sample offset
The sample offset, D, which must be an integer in the range [0, K-1].
Initial condition
The value with which the block is initialized for cases of nonzero latency; a
scalar or matrix.
Sample-based mode
The method by which to implement downsampling for sample-based
inputs:
Allow multirate (i.e, decrease the output sample rate), or Force
single-rate
(i.e., force the output sample rate to match the input sample
rate by repeating every Kth input sample K times at the output).
Frame-based mode
The method by which to implement downsampling for frame-based inputs:
Maintain input frame size (i.e., decrease the frame rate), or Maintain
input frame rate
(i.e., decrease the frame size).
Supported
Data Types
See Also
Fixed-point
Custom data types
Boolean
8-, 16-, and 32-bit signed integer
8-, 16-, and 32-bit unsigned integer
Single-precision floating point
Double-precision floating point
FIR Decimation DSP Blockset
FIR Rate Conversion DSP Blockset
Repeat DSP Blockset
Sample and Hold DSP Blockset
Upsample DSP Blockset