impinvar {gsignal}R Documentation

Impulse invariance method for A/D filter conversion

Description

Convert analog filter with coefficients b and a to digital, conserving impulse response.

Usage

impinvar(b, ...)

## S3 method for class 'Arma'
impinvar(b, ...)

## Default S3 method:
impinvar(b, a, fs = 1, tol = 1e-04, ...)

Arguments

b

coefficients of numerator polynomial

...

additional arguments (not used)

a

coefficients of denominator polynomial

fs

sampling frequency (Default: 1 Hz)

tol

tolerance. Default: 0.0001

Details

Because impinvar is generic, it can also accept input of class Arma.

Value

A list of class Arma containing numerator and denominator polynomial filter coefficients of the A/D converted filter.

Author(s)

Tony Richardson, arichard@stark.cc.oh.us,
Ben Abbott, bpabbott@mac.com,
adapted by John W. Eaton.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com

See Also

invimpinvar

Examples

f <- 2
fs <- 10
but <- butter(6, 2 * pi * f, 'low', 's')
zbut <- impinvar(but, fs)
freqz(zbut, n = 1024, fs = fs)


[Package gsignal version 0.3-5 Index]