polezero | R Documentation |
Generate a Pole-zero plot from filter coefficients.
polezero(b, a, ...)
b |
The filter moving-average (MA) coefficients. |
a |
The filter autoregressive (AR) coefficients. |
... |
Additional parameters are passed to the internal call of plot(). |
This function plots filter poles (x) and zeros (o) based on the given coefficients.
Santiago Barreda <sbarreda@ucdavis.edu>
http://en.wikipedia.org/wiki/Pole
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.