ZeroToCoef
This block outputs a vector. The entries of the vector correspond to the coefficients of a polynomial that is defined by its roots. Its roots are specified by the entries of the block's unique input vector. The size of the output vector is the size of the input vector plus one. The leading coefficient of the polynomial is one.
Library
MatrixOperations
Description
This block outputs a vector, the entries of the vector correspond to the coefficients of a polynomial that is defined by its roots. Its roots are specified by the entries of the block's unique input column vector. The size of the output vector is the size of the input vector plus one. The leading coefficient of the polynomial is one.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
typ | Datatype | Defines the type of input: This block supports only double input values. These values can be real or complex. | String | 'double' |
externalActivation | External activation | This parameter specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is used, an additional activation port is added to the block. Default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Coefs | explicit | output | 1 | |
Roots | explicit | input | 1 | |
Port 3 | activation | input | externalActivation |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | yes | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |