## S3 method for class 'default':
butter(n, W, type = c("low", "high", "stop", "pass"),
plane = c("z", "s"), ...)
## S3 method for class 'FilterOfOrder':
butter(n, \ldots)W must be a
scalar for low-pass and high-pass filters, and W must be a
two-element vector c(low, high) specifying the lower and
upper bands. For digital filters, "low" for a low-pass filter,
"high" for a high-pass filter, "stop" for a stop-band (band-reject)
filter, or "pass" for a pass-band filter."z" for a digital filter or "s" for an
analog filter.butter,
overriding those given by n of class FilterOfOrder.Arma object with list elements:butter is generic, it can be extended to accept other
inputs, using "buttord" to generate filter criteria for example.Arma, filter, cheby1,
ellip, and buttordbf = butter(4, 0.1)
freqz(bf)
zplane(bf)Run the code above in your browser using DataLab