pzmap (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

pzmap (Control Design and Simulation Module, MathScript Function)

Member of the dynchar class.

Syntax

pzmap(SysIn, attributes)

[q, z] = pzmap(SysIn)

Description

Creates a plot of system model poles and zeros. You also can use this function to return the locations of the poles and zeros of a model. If you do not specify an output, this function creates a plot.

Examples

Inputs

Name Description
SysIn Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.
attributes Specifies valid plot attributes. Order the plot attributes by color, point-style, and line-style. For example, 'bo-' specifies that the plot is blue, marks points with circles, and uses solid lines. attributes is a string that can take a combination of the following values:

'b' Colors the plot blue.
'c' Colors the plot cyan.
'g' Colors the plot green.
'k' Colors the plot black.
'm' Colors the plot magenta.
'r' Colors the plot red.
'y' Colors the plot yellow.
'.' Marks points with dots.
'o' Marks points with circles.
'x' Marks points with crosses.
'+' Marks points with plus signs.
'*' Marks points with asterisks.
'-' Uses solid lines.
':' Uses dotted lines.
'-.' Uses dashed and dotted lines.
'--' Uses dashed lines.

Outputs

Name Description
q Returns the locations of the poles of the SysIn model. q is a complex vector.
z Returns the locations of the zeros of the SysIn model. z is a complex vector.

Examples

SysIn = zpk([1], [-1, -2], 0.5)
pzmap(SysIn)

Related Topics

acker
place
pole
rlocus
zero