impz | R Documentation |
Compute the z-plane impulse response of an ARMA model or rational IIR filter. A plot of the impulse and step responses is generated.
impz(filt, ...)
## S3 method for class 'impz'
print(x, ...)
## S3 method for class 'Arma'
impz(filt, ...)
## S3 method for class 'Ma'
impz(filt, ...)
## S3 method for class 'Sos'
impz(filt, ...)
## S3 method for class 'Zpg'
impz(filt, ...)
## Default S3 method:
impz(filt, a = 1, n = NULL, fs = 1, ...)
filt |
for the default case, the moving-average coefficients of an ARMA
model or filter. Generically, |
... |
for methods of |
x |
object to be printed or plotted. |
a |
the autoregressive (recursive) coefficients of an ARMA filter. |
n |
number of points at which to evaluate the frequency response. If
|
fs |
sampling frequency in Hz. If not specified (default = 2 * pi), the frequencies are in radians. |
For impz
, a list of class "impz"
with items:
impulse response signal.
time.
When results of impz
are printed, plot
will be called to
display a plot of the impulse response against frequency. As with lattice
plots, automatic printing does not work inside loops and function calls, so
explicit calls to print or plot are needed there.
Paul Kienzle, pkienzle@users.sf.net.
Conversion to R by Tom Short;
adapted by Geert van Boxtel, gjmvanboxtel@gmail.com
## elliptic low-pass filter
elp <- ellip(4, 0.5, 20, 0.4)
impz(elp)
xt <- impz(elp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.