Chebyshev Type II filter order
Compute Chebyshev type-II filter order and cutoff for the desired response characteristics.
cheb2ord(Wp, Ws, Rp, Rs, plane = c("z", "s"))
Wp, Ws |
pass-band and stop-band edges. For a low-pass or high-pass
filter, |
Rp |
allowable decibels of ripple in the pass band. |
Rs |
minimum attenuation in the stop band in dB. |
plane |
"z" for a digital filter or "s" for an analog filter. |
A list of class 'FilterSpecs'
with the following list
elements:
filter order
cutoff frequency
filter type, normally one of "low"
, "high"
,
"stop"
, or "pass"
.
Paul Kienzle, Charles Praplan.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.
## low-pass 30 Hz filter fs <- 128 spec <- cheb2ord(30/(fs/2), 40/(fs/2), 0.5, 40) cf <- cheby2(spec) freqz(cf, fs = fs)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.