Main Content

dpoly

Display transfer function on block mask icon

    Description

    dpoly(num,den) displays the transfer function on the block mask icon, where num represents the coefficients of the numerator and den represents the coefficients of the denominator.

    dpoly(num,den,character) displays the transfer function with the specified variable character. When Simulink® draws the block icon, the initialization commands run and the resulting equation appears on the block icon.

    example

    Examples

    collapse all

    Display a continuous transfer function in descending powers of s.

    dpoly([3 2 3], [1 2 1]);

    Subsystem block showing a continuous transfer function on its block icon.

    Display a discrete transfer function in descending powers of z.

    dpoly([1 0 3], [1 2 1], 'z')

    descending transformation function

    Display a discrete transfer function in ascending powers of 1/z

    dpoly([1 0 3], [1 2 1], 'z-')

    inverse transfer function

    Input Arguments

    collapse all

    Numerator of the transfer function, specified as array.

    Example: num = [1 0 3]

    Data Types: array

    Denominator of the transfer function, specified as array.

    Example: den = [1 2 1]

    Data Types: array

    Variable for the transfer function, specified as a character vector or string.

    Example: dpoly(num, den, 'z')

    Data Types: char | string

    Version History

    Introduced in R2007a

    See Also

    | | |