LabVIEW Control Design and Simulation Module

polycoef (MathScript RT Module Function)

  • Updated2023-03-14
  • 1 minute(s) read

polycoef (MathScript RT Module Function)

Owning Class: convert

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

polycoef

polycoef(direction)

Description

Specifies whether the polynomial function coefficients you enter are in descending or ascending direction. After you use this function to specify a direction, any transfer function models you create interpret the coefficients in the direction this function specifies. This function affects only the tf and sys_filter functions. You also can return the current direction by entering polycoef with no inputs.

Examples

Inputs

Name Description
direction Specifies whether the polynomial function coefficients are in ascending or descending order. direction is a string that can take the following values:

'd' or 'descending' (Default) Specifies that the polynomial function coefficients are in descending order. LabVIEW also accepts 'descending'.
'a' or 'ascending' Specifies that the polynomial function coefficients are in ascending order. LabVIEW also accepts 'ascending'.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

polycoef('d');
SysOutTF = tf([1, 2], [3, 4, 5])
polycoef('a');
SysOutTF = tf([1, 2], [3, 4, 5])

Related Topics

poles
rlocus
zero
tf