Main Content
Discrete
Discrete time blocks such as Unit Delay
Use blocks from the Discrete library to model discrete systems and implement discrete algorithms.
Blocks
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 |