powered by
Convert analog filter with coefficients b and a to digital, conserving impulse response.
impinvar(b, ...)# S3 method for Arma impinvar(b, ...)# S3 method for default impinvar(b, a, fs = 1, tol = 1e-04, ...)
# S3 method for Arma impinvar(b, ...)
# S3 method for default impinvar(b, a, fs = 1, tol = 1e-04, ...)
coefficients of numerator polynomial
additional arguments (not used)
coefficients of denominator polynomial
sampling frequency (Default: 1 Hz)
tolerance. Default: 0.0001
A list of class Arma containing numerator and denominator polynomial filter coefficients of the A/D converted filter.
Arma
Because impinvar is generic, it can also accept input of class Arma.
impinvar
invimpinvar
# NOT RUN { f <- 2 fs <- 10 but <- butter(6, 2 * pi * f, 'low', 's') zbut <- impinvar(but, fs) freqz(zbut, n = 1024, fs = fs) # }
Run the code above in your browser using DataLab