Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

dpoly

Display transfer function on masked subsystem icon

Syntax

dpoly(num, den)
dpoly(num, den, 'character')

Description

dpoly(num, den) displays the transfer function whose numerator is num and denominator is den.

dpoly(num, den, 'character') specifies the name of the transfer function independent variable. The default is s.

When Simulink® draws the block icon, the initialization commands execute and the resulting equation appears on the block icon, as in the following examples:

  • To display a continuous transfer function in descending powers of s, enter

    dpoly(num, den)
    

    For example, for num = [0 0 1]; and den = [1 2 1] the icon looks like:

  • To display a discrete transfer function in descending powers of z, enter

    dpoly(num, den, 'z')
    

    For example, for num = [0 0 1]; and den = [1 2 1]; the icon looks like:

  • To display a discrete transfer function in ascending powers of 1/z, enter

    dpoly(num, den, 'z-')
    

    For example, for num and den as defined previously, the icon looks like:

If the parameters are not defined or have no values when you create the icon, Simulink software displays three question marks (? ? ?) in the icon. When you define parameter values in the Mask Settings dialog box, Simulink software evaluates the transfer function and displays the resulting equation in the icon.

See Also

| | |

Was this topic helpful?