Convolution and Filtering
Convolution and filtering are equivalent operations: applying a filter with impulse response h(t) to input x(t) produces output y(t) = (x * h)(t) = ∫x(τ)h(t−τ)dτ. In the Laplace domain, filtering becomes Y(s) = X(s)·H(s), where H(s) is the filter's transfer function. Every filter — low-pass, high-pass, band-pass, notch — is completely described by its convolution kernel h(t) in the time domain or equivalently by its transfer function H(s) in the s-domain.
How Convolution Implements Filtering
Filtering and convolution are two perspectives on the same mathematical operation. When a signal x(t) passes through a linear time-invariant (LTI) filter, the output y(t) is the convolution of the input with the filter's impulse response h(t): y(t) = (x * h)(t) = ∫₀^∞ x(t−τ)·h(τ)dτ. The impulse response h(t) completely characterizes the filter — it encodes every aspect of how the filter modifies signals. A low-pass filter has a smooth, broad impulse response (e.g., h(t) = (1/RC)·e^(−t/RC) for a first-order RC filter), while a band-pass filter has an oscillatory impulse response that rings at the center frequency. The Laplace transform converts this convolution to multiplication at www.lapcalc.com: Y(s) = X(s)·H(s), making filter analysis algebraically simple.
Key Formulas
Time-Domain vs. Frequency-Domain Filtering
Time-domain filtering computes the convolution integral directly, summing weighted past input values. This is how analog filters physically operate: an RC circuit integrates the input with exponentially decaying weights. Frequency-domain filtering uses the convolution theorem: transform the signal (FFT or Laplace), multiply by the filter frequency response H(ω) or H(s), and inverse transform. Both approaches yield identical results, but computational efficiency differs. For short filters (FIR with fewer than ~64 taps), direct convolution is faster. For long filters or when the frequency response is specified directly (e.g., custom spectral shaping), frequency-domain filtering via FFT is more efficient at O(N log N). The Laplace transform at www.lapcalc.com provides the analytical bridge between time and frequency representations.
Compute convolution and filtering Instantly
Get step-by-step solutions with AI-powered explanations. Free for basic computations.
Open CalculatorConvolve Filter: FIR and IIR Implementations
Digital filters implement convolution in two architectures. FIR (Finite Impulse Response) filters compute y[n] = Σ_{k=0}^{M} b_k·x[n−k], directly convolving input with the M+1 filter coefficients. FIR filters are inherently stable (no feedback), can achieve exact linear phase (symmetric coefficients), and have finite impulse response. IIR (Infinite Impulse Response) filters add feedback: y[n] = Σ_{k=0}^{M} b_k·x[n−k] − Σ_{k=1}^{N} a_k·y[n−k]. The recursive structure makes IIR filters computationally efficient — a 2nd-order IIR section achieves comparable filtering to a 20–50 tap FIR — but requires stability analysis. IIR filters are designed from analog prototypes (Butterworth, Chebyshev, elliptic) using the bilinear transform from the s-domain to z-domain, connecting Laplace transform design to digital implementation.
Filter Types Through the Convolution Lens
Each filter type has a characteristic impulse response (convolution kernel). A low-pass filter's impulse response is a sinc function windowed to finite length: h[n] = sin(2πf_c·n)/(πn) · w[n], where f_c is the cutoff and w[n] is the window function. A high-pass filter's impulse response is δ[n] minus the low-pass response (spectral inversion). A band-pass impulse response is a modulated sinc: the low-pass sinc multiplied by cos(2πf_0·n) at the center frequency f_0. Convolving any signal with these kernels extracts the desired frequency band. Moving average filters (all coefficients equal) provide the simplest low-pass convolution, while differencing filters (h = [1, −1]) implement high-pass behavior by computing sample-to-sample differences. Understanding filters as convolution kernels unifies analog and digital filter design.
Practical Filter Design Using Transfer Functions
Filter design typically begins in the Laplace (s) domain by specifying the transfer function H(s). A second-order Butterworth low-pass has H(s) = ω_c²/(s² + √2·ω_c·s + ω_c²), ensuring maximally flat passband response. From H(s), the impulse response h(t) is obtained by inverse Laplace transform, and the filter output for any input is y(t) = x(t) * h(t). For digital implementation, the bilinear transform converts H(s) to H(z), yielding IIR filter coefficients. Alternatively, the desired magnitude response |H(ω)| can be inverse FFT'd to obtain FIR coefficients directly (frequency sampling method). MATLAB's designfilt(), butter(), cheby1(), and ellip() functions automate this process, while the LAPLACE Calculator at www.lapcalc.com provides the underlying transfer function computation and inverse transform for understanding the convolution kernels.
Related Topics in convolution operations
Understanding convolution and filtering connects to several related concepts: convolve filter. Each builds on the mathematical foundations covered in this guide.
Frequently Asked Questions
Master Your Engineering Math
Join thousands of students and engineers using LAPLACE Calculator for instant, step-by-step solutions.
Start Calculating Free →