polezero: Pole-zero Plots

Description Usage Arguments Details Author(s) References Examples

View source: R/polezero.R

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)

phonTools documentation built on May 29, 2017, 9 a.m.

Search within the phonTools package
Search all R packages, documentation and source code