pzgraph (MathScript RT Module Function)
- Updated2023-03-14
- 2 minute(s) read
pzgraph (MathScript RT Module Function)
Owning Class: dynchar
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
pzgraph(SysIn, attributes)
[q, z] = pzgraph(SysIn)
Legacy Name: pzmap
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. |
Details
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes (if you request output) |
| Supported on RT targets | Yes (if you request output) |
| Suitable for bounded execution times on RT | Not characterized |
Examples
SysIn = zpk([1], [-1, -2], 0.5)
pzgraph(SysIn)