Skip to main content

rc_highpass_filter

Function rc_highpass_filter 

Source
pub fn rc_highpass_filter(
    signal: &[f64],
    r_ohms: f64,
    c_farads: f64,
    sample_rate: f64,
) -> Vec<f64>
Expand description

Process a signal through an ideal first-order RC highpass.

Uses bilinear transform for exact discrete-time response. H(s) = sRC / (1 + sRC)