Filter specifications, including order, frequency cutoff, type, and possibly others.
FilterSpecs(n, Wc, type,...)
Arguments
n: filter order.
Wc: cutoff frequency.
type: filter type, normally one of "low", "high", "stop", or "pass".
...: other filter description characteristics, possibly including Rp for dB of pass band ripple or Rs for dB of stop band ripple, depending on filter type (Butterworth, Chebyshev, etc.).
Returns
A list of class 'FilterSpecs' with the following list elements (repeats of the input arguments):
n: filter order
Wc: cutoff frequency
type: filter type, normally one of "low", "high", "stop", or "pass".
...: other filter description characteristics, possibly including Rp for dB of pass band ripple or Rs for dB of stop band ripple, depending on filter type (Butterworth, Chebyshev, etc.).
Examples
filt <- FilterSpecs(3,0.1,"low")
See Also
filter, butter and buttord, cheby1 and cheb1ord, ellip and ellipord.