LabVIEW Control Design and Simulation Module

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.

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.

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)

Related Topics

ackermann
poleplace
poles
rlocus
zero