Downsampler
R2026bLibraries:
DSP HDL Toolbox /
Signal Operations
Description
The Downsampler block downsamples an input signal by removing K–1 data samples between input samples. The block supports these combinations of input and output data.
Scalar input and scalar output
Vector input and scalar output
Vector input and vector output
The block provides an architecture suitable for HDL code generation and hardware deployment.
Note
You can also generate HDL code for this hardware-optimized algorithm, without creating a Simulink® model, by using the DSP HDL IP Designer app. The app provides the same interface and configuration options as the Simulink block.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"dsphdlsigops2/Downsampler"
Example: add_block("dsphdlsigops2/Downsampler","myModel/myBlock",MakeNameUnique="on")
Algorithms
Extended Capabilities
Version History
Introduced in R2022b




