Design a Butterworth filter in second-order-sections (SOS) form
Source:R/filters-causal.R
sosDesign.RdBuilds the cascaded second-order-sections representation of a Butterworth
filter directly from the analog prototype poles (bilinear transform), which
is numerically stable for all orders. This is the design entry point for the
causal / stateful filtering functions (sosfilt,
sosfiltfilt, StreamFilter).
Usage
sosDesign(
low = NULL,
high = NULL,
order = 4L,
type = c("pass", "low", "high", "stop"),
sr
)Value
A numeric matrix with one second-order section per row and six
columns c(b0, b1, b2, a0, a1, a2).