Main Content

droots

Display transfer function on masked block icon

    Description

    droots(zero,pole,gain) displays the transfer function.

    droots(zero,pole,gain,character)displays the transfer function in terms of the transfer function display variable, character. When Simulink® draws the block icon, the initialization commands execute and the resulting equation appears on the block icon.

    example

    Examples

    collapse all

    Display zero-pole gain transfer function.

    droots(-1,[-2 -3],4);

    zero-pole gain transfer function in terms of default variable

    Display zero-pole gain transfer function in terms of the display variable z.

    droots(-1,[-2 -3],4,"z");

    zero-pole gain transfer function in terms of a variable

    Input Arguments

    collapse all

    Zeros of the transfer function, specified as a cell array. Zeros are the values of the complex variable that make the numerator of the transfer function equal to zero.

    Example: [-4 -3]

    Data Types: cell

    Poles of the transfer function, specified as a cell array. Poles are the values that make the denominator of the transfer function equal to zero.

    Example: [-2 -3]

    Data Types: cell

    Gain of the transfer function, specified as an integer.

    Example: 4

    Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

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

    Example: z

    Data Types: char | string

    Version History

    Introduced before R2006a

    See Also

    | | |