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.

    ZeroToCoef

Library

Activate/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

ZeroToCoef_0

NameLabelDescriptionData TypeValid Values

typ

Datatype

Defines the type of input: This block supports only double input values. These values can be real or complex.

String

'double'
'complex'
'inherit'

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
1

Ports

NameTypeDescriptionIO TypeNumber

Coefs

explicit

output

1

Roots

explicit

input

1

Port 3

activation

input

externalActivation

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no