Discrete
R2026bBlocks for modeling discrete-time systems that update at fixed sample
rates, such as Delay, Discrete-Time Integrator, and Discrete Filter
Use blocks from the Discrete library to model systems that update at fixed sample rates rather than continuously. You can implement unit delays, discrete-time integrators, digital filters, and state-space models that execute at specified sample intervals. For systems that change smoothly over time, see the Continuous library.
To add blocks from this library to your model, see Add Blocks to Models.
Blocks
| Conditional Hold | Conditionally hold last value (Since R2026b) | |
| Delay | Delay input signal by fixed or variable sample periods | |
| Difference | Calculate change in signal over one time step | |
| Discrete Derivative | Compute discrete-time derivative | |
| Discrete FIR Filter | Model FIR filters | |
| Discrete Filter | Model Infinite Impulse Response (IIR) filters | |
| Discrete PID Controller | Discrete-time or continuous-time PID controller | |
| Discrete PID Controller (2DOF) | Discrete-time or continuous-time two-degree-of-freedom PID controller | |
| Discrete State-Space | Implement discrete state-space system | |
| Discrete Transfer Fcn | Implement discrete transfer function | |
| Discrete Zero-Pole | Model system defined by zeros and poles of discrete transfer function | |
| Discrete-Time Integrator | Perform discrete-time integration or accumulation of signal | |
| Memory | Output input from previous time step | |
| Propagation Delay | Model loop delay, latency, pulse delay (Since R2022b) | |
| Resettable Delay | Delay input signal by variable sample period and reset with external signal | |
| Tapped Delay | Delay scalar signal multiple sample periods and output all delayed versions | |
| Transfer Fcn First Order | Implement discrete-time first order transfer function | |
| Transfer Fcn Lead or Lag | Implement discrete-time lead or lag compensator | |
| Transfer Fcn Real Zero | Implement discrete-time transfer function that has real zero and no pole | |
| Unit Delay | Delay signal one sample period | |
| Variable Integer Delay | Delay input signal by variable sample period | |
| Zero-Order Hold | Implement zero-order hold sample period |
Tools
| Library Browser | Find and add blocks to model |
Topics
- Add Blocks to Models
Use the Library Browser and quick insert menu to insert blocks.