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.
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:
|
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)