Implement discrete-time transfer function that has real zero and no pole
Simulink / Discrete
The Transfer Fcn Real Zero block implements a discrete-time transfer function that has a real zero and effectively no pole.
Port_1
— Input signalInput signal to the discrete-time transfer function algorithm.
Data Types: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| fixed point
Port_1
— Output signalOutput signal that is the discrete-time transfer function with a real zero and effectively no pole of the input signal.
Data Types: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| fixed point
Zero (in Z plane)
— Zero0.75
(default) | scalarSpecify the zero in the Z plane.
Block Parameter:
ZeroZ |
Type: character vector |
Value: real scalar |
Default:
'0.75' |
Initial condition for previous input
— Initial condition for previous input0.0
(default) | scalarSpecify the initial condition for the previous input.
Block Parameter:
ICPrevInput |
Type: character vector |
Value: real scalar |
Default:
'0.0' |
Input processing
— Specify sample- or frame-based processingElements as channels (sample based)
(default) | Columns as channels (frame based)
Specify whether the block performs sample- or frame-based processing:
Columns as channels (frame based)
— Treat
each column of the input as a separate channel (frame-based processing).
Note
Frame-based processing requires a DSP System Toolbox™ license.
For more information, see Sample- and Frame-Based Concepts (DSP System Toolbox).
Elements as channels (sample based)
— Treat
each element of the input as a separate channel (sample-based
processing).
Use Input processing to specify whether the block performs
sample- or frame-based processing. The block accepts frame-based signals for the input
u
. All other input signals must be sample-based.
Input Signal u | Input Processing Mode | Block Works? |
---|---|---|
Sample based | Sample based | Yes |
Frame based | No, produces an error | |
Sample based | Frame based | Yes |
Frame based | Yes |
For more information about these two processing modes, see Sample- and Frame-Based Concepts (DSP System Toolbox).
Block Parameter:
InputProcessing |
Type: character vector |
Values: 'Columns as channels
(frame based)' | 'Elements as channels (sample
based)' |
Default: 'Elements as channels
(sample based)' |
Integer rounding mode
— Rounding mode for fixed-point operationsFloor
(default) | Ceiling
| Convergent
| Nearest
| Round
| Simplest
| Zero
Specify the rounding mode for fixed-point operations. For more information, see Rounding (Fixed-Point Designer).
Block parameters always round to the nearest representable value. To control the rounding of a block parameter, enter an expression using a MATLAB® rounding function into the mask field.
Block Parameter:
RndMeth |
Type: character vector |
Values:
'Ceiling' | 'Convergent' | 'Floor' | 'Nearest' | 'Round' | 'Simplest' |
'Zero' |
Default:
'Floor' |
Saturate to max or min when overflows occur
— Method of overflow actionoff
(default) | on
When you select this check box, overflows saturate to the maximum or minimum value that the data type can represent. Otherwise, overflows wrap.
When you select this check box, saturation applies to every internal operation on the block, not just the output or result. In general, the code generation process can detect when overflow is not possible. In this case, the code generator does not produce saturation code.
Block Parameter:
DoSatur |
Type: character vector |
Values:
'off' | 'on' |
Default:
'off' |