Pole-zero Plots

Description

Generate a Pole-zero plot from filter coefficients.

Usage

1
polezero (b, a, ...)

Arguments

b

The filter moving-average (MA) coefficients.

a

The filter autoregressive (AR) coefficients.

...

Additional parameters are passed to the internal call of plot().

Details

This function plots filter poles (x) and zeros (o) based on the given coefficients.

Author(s)

Santiago Barreda <sbarreda@ucdavis.edu>

References

http://en.wikipedia.org/wiki/Pole

Examples

1
2
3
4
5
6
7
8
9
## example of a typical single-zero preemphasis filter
a = 1
b = c(1, -.94)
polezero (b, a)

#example of a complex-pole formant-style filter
a = c(1, -.3, .2)
b = c(1)
polezero (b, a)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.