zplane: Zero-pole plot

View source: R/zplane.R

zplaneR Documentation

Zero-pole plot

Description

Plot the poles and zeros of a filter or model on the complex Z-plane

Usage

zplane(filt, ...)

## S3 method for class 'Arma'
zplane(filt, ...)

## S3 method for class 'Ma'
zplane(filt, ...)

## S3 method for class 'Sos'
zplane(filt, ...)

## S3 method for class 'Zpg'
zplane(filt, ...)

## Default S3 method:
zplane(filt, a, ...)

Arguments

filt

for the default case, the moving-average coefficients of an ARMA model or filter. Generically, filt specifies an arbitrary model or filter operation.

...

additional arguments are passed through to plot.

a

the autoregressive (recursive) coefficients of an ARMA filter.

Details

Poles are marked with an x, and zeros are marked with an o.

Value

No value is returned.

Note

When results of zplane are printed, plot will be called. As with lattice plots, automatic printing does not work inside loops and function calls, so explicit calls to print or plot are needed there.

Author(s)

Paul Kienzle, pkienzle@users.sf.net,
Stefan van der Walt stefan@sun.ac.za,
Mike Miller.
Conversion to R by Tom Short,
adapted by Geert van Boxtel, gjmvanboxtel@gmail.com

References

https://en.wikipedia.org/wiki/Pole-zero_plot

See Also

freqz

Examples

## elliptic low-pass filter
elp <- ellip(4, 0.5, 20, 0.4)
zplane(elp)


gsignal documentation built on Sept. 12, 2024, 6:27 a.m.