Fixed-Point Blockset |
 |
Filter Lead or Lag
Implement a discrete-time lead or lag filter
Library
Filters
Description

The Filter Lead or Lag block implements a discrete-time lead or lag filter of the input. The instantaneous gain of the filter is one, and the DC gain is equal to (1-z)/(1-p), where z is the zero and p is the pole of the filter.
The block implements a lead filter when 0 < z < p < 1, and implements a lag filter when 0 < p < z < 1.
Parameters and Dialog Box

- Pole of filter (in Z plane)
- Set the pole of the filter.
- Zero of filter (in Z plane)
- Set the zero of the filter.
- Initial condition for previous output
- Set the initial condition for the previous output.
- Initial condition for previous input
- Set the initial condition for the previous input.
- Round toward
- Rounding mode for the fixed-point output.
- Saturate to max or min when overflows occur
- If selected, fixed-point overflows saturate.
Characteristics
Input Ports
|
Any data type supported by the blockset--it must be a scalar
|
Output Port
|
Any data type supported by the blockset
|
Direct Feedthrough
|
Yes
|
Scalar Expansion
|
Of initial conditions
|
Vectorized
|
No
|
See Also
FIR
| Filter First Order | | Filter Real Zero |  |