The Central Idea

For a linear time-invariant system with impulse response \(h(t)\), the output is obtained by convolution:

\[ \boxed{y(t)=(h*x)(t)}. \]

Taking the Fourier transform converts convolution into multiplication:

\[ \boxed{Y(\omega)=H(\omega)X(\omega)}. \]

This pair of equations is the organizing principle of filtering. In the time domain, a filter combines shifted copies of a signal. In the frequency domain, the same filter multiplies each spectral component by a frequency-dependent gain and phase shift.

What Is a Signal?

A signal is a quantity that varies with an independent variable such as time, position, sample number, or frequency. Examples include voltage over time, sound pressure, temperature measurements, pixel intensity, vibration data, financial measurements, and sensor outputs.

A continuous-time signal may be written

\[ x(t), \]

while a sampled signal is commonly written

\[ x[n]. \]

The mathematical methods differ slightly between continuous and discrete settings, but the central questions remain the same: what components are present, which are useful, and how should they be modified?

What Does a Filter Do?

A filter changes some components of a signal more than others. Depending on its design, a filter may:

Filtering therefore means more than simply making a signal smoother. It is a deliberate redistribution of spectral content.

Impulse Response

The impulse response \(h(t)\) describes how a linear time-invariant system responds to an ideal impulse. Once \(h(t)\) is known, the response to a general input is

\[ y(t)=\int_{-\infty}^{\infty}h(\tau)x(t-\tau)\,d\tau. \]

This is convolution. The function \(h\) acts as the time-domain description of the filter.

For a discrete signal,

\[ \boxed{y[n]=\sum_{k=-\infty}^{\infty}h[k]x[n-k]}. \]

In finite computations, only the nonzero or retained samples of \(h[k]\) need to be included.

Frequency Response

The Fourier transform of the impulse response is called the frequency response:

\[ \boxed{H(\omega)=\mathcal{F}\{h(t)\}}. \]

If the input has transform \(X(\omega)\), then

\[ Y(\omega)=H(\omega)X(\omega). \]

Thus, \(H(\omega)\) tells us exactly how the filter acts on each frequency. A frequency for which \(|H(\omega)|\) is near \(1\) is largely preserved. A frequency for which \(|H(\omega)|\) is near \(0\) is strongly suppressed.

Magnitude and Phase Response

A complex frequency response can be written in polar form as

\[ H(\omega)=|H(\omega)|e^{i\phi(\omega)}. \]

The magnitude response \(|H(\omega)|\) controls amplitude. The phase response \(\phi(\omega)\) controls phase shift.

If a sinusoidal input is

\[ x(t)=A\cos(\omega_0t), \]

then a stable LTI filter produces a steady-state sinusoid at the same frequency:

\[ y(t)=A|H(\omega_0)| \cos\!\left(\omega_0t+\phi(\omega_0)\right). \]

The filter changes the amplitude and phase, but it does not create a new frequency from a single sinusoidal input when the system is linear and time-invariant.

Passbands and Stopbands

A passband is a frequency region intended to pass through a filter with relatively little attenuation. A stopband is a region intended to be strongly suppressed.

Real filters usually contain a transition region between passband and stopband. Idealized diagrams may show a perfectly sharp boundary, but exact sharp transitions generally require nonlocal or infinite-duration impulse responses.

Low-Pass Filters

A low-pass filter preserves lower frequencies and attenuates higher frequencies. It is commonly used for smoothing, noise reduction, trend extraction, and anti-aliasing.

An ideal low-pass response with cutoff \(\omega_c\) can be written

\[ H(\omega)= \begin{cases} 1, & |\omega|\le \omega_c,\\ 0, & |\omega|>\omega_c. \end{cases} \]

Frequencies below the cutoff are passed, while frequencies above it are removed. Practical filters approximate this behavior with a smoother transition.

High-Pass Filters

A high-pass filter does the opposite: it suppresses slowly varying components and preserves more rapidly varying components.

High-pass filtering is useful for removing baseline drift, emphasizing rapid changes, detecting edges, and isolating high-frequency vibration or transient content.

An idealized high-pass response is

\[ H(\omega)= \begin{cases} 0, & |\omega|<\omega_c,\\ 1, & |\omega|\ge \omega_c. \end{cases} \]

Band-Pass Filters

A band-pass filter preserves frequencies inside a selected interval and suppresses frequencies below and above it.

An ideal symmetric band-pass filter may be described by

\[ H(\omega)=1 \]

for frequencies satisfying

\[ \omega_1\le |\omega|\le \omega_2, \]

and \(H(\omega)=0\) elsewhere.

Band-pass filtering is useful when a signal of interest occupies a known frequency band, such as a communication channel, vibration mode, or acoustic range.

Band-Stop and Notch Filters

A band-stop filter rejects a selected interval while preserving frequencies outside that interval. A notch filter is a narrow band-stop filter designed to suppress a small frequency neighborhood.

Notch filters are useful when interference is concentrated near a specific frequency. The design challenge is to reject the unwanted component without unnecessarily disturbing nearby useful frequencies.

Cutoff Frequency and Bandwidth

The cutoff frequency marks a transition between a region intended to pass and a region intended to attenuate. Different engineering conventions may define the cutoff at different gain levels, so a cutoff should be interpreted together with the filter specification being used.

For a band extending from \(f_1\) to \(f_2\), the bandwidth is

\[ \boxed{B=f_2-f_1}. \]

Narrow bandwidth isolates a smaller range of frequencies. Wide bandwidth preserves a broader range and usually retains faster time-domain changes.

A First-Order Low-Pass Model

A common first-order low-pass frequency response is

\[ \boxed{H(\omega)=\frac{1}{1+i\omega\tau}}, \]

where \(\tau>0\) is a time constant.

Its magnitude is

\[ |H(\omega)|= \frac{1}{\sqrt{1+(\omega\tau)^2}}, \]

and its phase is

\[ \phi(\omega)=-\arctan(\omega\tau). \]

When \(|\omega|\tau\ll1\), the gain is near \(1\). When \(|\omega|\tau\gg1\), the magnitude becomes small. This creates a gradual rather than perfectly sharp transition from passband to stopband.

Time Constant and Frequency Scale

The parameter \(\tau\) controls how quickly the first-order system responds in time. It also determines the characteristic angular frequency

\[ \boxed{\omega_c=\frac{1}{\tau}}. \]

In ordinary frequency,

\[ \boxed{f_c=\frac{1}{2\pi\tau}}. \]

A larger time constant means a slower response and a lower characteristic frequency. This is an important example of the reciprocal relationship between time scale and frequency scale.

Filtering by Convolution

Frequency-domain multiplication and time-domain convolution describe the same operation:

\[ \boxed{Y=HX} \qquad\Longleftrightarrow\qquad \boxed{y=h*x}. \]

This duality gives two implementation strategies. If the impulse response is short, direct convolution may be efficient. If the data and filter are long, transform methods can reduce the computational cost by converting convolution into pointwise multiplication.

A Simple Discrete Smoothing Filter

Consider the three-point moving average

\[ \boxed{ y[n]=\frac13\bigl(x[n]+x[n-1]+x[n-2]\bigr) }. \]

Its impulse response is

\[ h[0]=h[1]=h[2]=\frac13, \]

with all other samples equal to zero.

The output is a local average, so isolated rapid changes are reduced. This makes the filter low-pass in character.

The Moving-Average Frequency Response

For an \(M\)-point moving average,

\[ h[k]=\frac1M, \qquad k=0,1,\ldots,M-1. \]

Its discrete-time frequency response is

\[ H(\Omega) =\frac1M\sum_{k=0}^{M-1}e^{-i\Omega k}. \]

This may be rewritten as

\[ \boxed{ H(\Omega) =e^{-i\Omega(M-1)/2} \frac{\sin(M\Omega/2)}{M\sin(\Omega/2)} }. \]

The magnitude is largest near \(\Omega=0\), confirming the low-pass behavior. Zeros occur at selected nonzero frequencies, so some oscillatory components can be canceled exactly.

Smoothing Comes with a Tradeoff

Increasing the width of a moving average usually produces stronger smoothing, but it also spreads abrupt changes over a wider interval and can reduce temporal resolution.

This is a recurring principle in signal processing:

\[ \boxed{ \text{stronger suppression of high frequencies} \;\Longleftrightarrow\; \text{less preservation of rapid time variation} }. \]

A useful filter therefore balances noise reduction against distortion of the desired signal.

Difference Filters and Rapid Change

The first difference

\[ y[n]=x[n]-x[n-1] \]

has impulse response

\[ h[0]=1, \qquad h[1]=-1. \]

Its frequency response is

\[ H(\Omega)=1-e^{-i\Omega}. \]

Since \(H(0)=0\), a constant component is removed. The filter therefore emphasizes changes rather than steady levels and behaves like a simple high-pass or discrete differentiation operator.

Filtering and Differentiation

In the continuous Fourier transform,

\[ \mathcal{F}\{x'(t)\}=i\omega X(\omega). \]

Differentiation multiplies the spectrum by \(|\omega|\), so higher frequencies are amplified more strongly than lower frequencies.

This is useful for detecting rapid changes, but it also explains why numerical differentiation is highly sensitive to high-frequency noise. In practice, a smoothing operation is often combined with differentiation.

Signal and Noise

A measured quantity is often modeled as

\[ x(t)=s(t)+n(t), \]

where \(s(t)\) is the desired signal and \(n(t)\) is unwanted noise or interference.

Filtering is most effective when the useful signal and the unwanted component have different spectral characteristics. If the signal occupies low frequencies while the noise is concentrated at high frequencies, a low-pass filter can improve the measurement substantially. If their spectra overlap strongly, no simple frequency filter can separate them perfectly.

Signal-to-Noise Ratio

One way to quantify signal quality is the signal-to-noise ratio

\[ \boxed{\mathrm{SNR}=\frac{P_s}{P_n}}, \]

where \(P_s\) and \(P_n\) represent suitable signal and noise powers.

In decibels,

\[ \boxed{ \mathrm{SNR}_{\mathrm{dB}} =10\log_{10}\!\left(\frac{P_s}{P_n}\right) }. \]

A filter can improve SNR if it attenuates noise-dominated spectral regions more than signal-dominated regions.

Analyzing a Signal with the Fourier Transform

A Fourier transform reveals which frequencies contribute to a continuous signal. For sampled data, the DFT provides a finite spectral representation:

\[ X[k] =\sum_{n=0}^{N-1}x[n]e^{-i2\pi kn/N}. \]

The magnitude \(|X[k]|\) indicates the strength of the corresponding frequency-bin component, while the argument of \(X[k]\) gives phase information.

Large peaks in a spectrum often indicate dominant periodic components, resonances, harmonics, or interference frequencies.

Amplitude Spectra and Power Spectra

The amplitude spectrum emphasizes component amplitudes, usually through quantities derived from \(|X[k]|\). A simple finite-record power measure is proportional to

\[ |X[k]|^2. \]

With an appropriate normalization, this produces a periodogram-type estimate of how energy or power is distributed among frequency bins.

The precise scaling depends on the DFT convention, sample interval, record length, and whether a one-sided or two-sided spectrum is being reported. Consistent normalization is therefore essential when comparing spectral magnitudes.

Parseval's Principle in Signal Analysis

Parseval-type identities express the fact that total energy can be computed in either the original domain or the transform domain.

With the DFT convention

\[ X[k]=\sum_{n=0}^{N-1}x[n]e^{-i2\pi kn/N}, \]

Parseval's identity is

\[ \boxed{ \sum_{n=0}^{N-1}|x[n]|^2 =\frac1N\sum_{k=0}^{N-1}|X[k]|^2 }. \]

Filtering redistributes or attenuates these spectral contributions according to \(|H[k]|\).

Windowing a Finite Record

Real measurements are observed for a finite duration. Multiplying a longer signal by a finite observation window modifies its spectrum. If the measured record does not contain an integer number of periods of a sinusoid, spectral energy can spread into neighboring DFT bins.

This spreading is called spectral leakage.

A window function \(w[n]\) forms the analyzed sequence

\[ x_w[n]=w[n]x[n]. \]

Different windows trade narrow spectral peaks against reduced sidelobes. Windowing does not create additional information; it changes how the finite record distributes spectral leakage.

Frequency Resolution

If \(N\) samples are collected at sampling rate \(f_s\), the DFT bin spacing is

\[ \boxed{\Delta f=\frac{f_s}{N}}. \]

Since the observation duration is

\[ T=\frac{N}{f_s}, \]

the same relation can be written

\[ \boxed{\Delta f=\frac1T}. \]

Longer observation time provides finer frequency-bin spacing. This is another form of the time-frequency tradeoff: resolving nearby frequencies generally requires a sufficiently long record.

Sampling and the Nyquist Limit

A sampling rate \(f_s\) can represent frequencies only up to the Nyquist frequency

\[ \boxed{f_N=\frac{f_s}{2}}. \]

Components above this limit can appear at incorrect lower frequencies after sampling. This effect is called aliasing.

Once aliasing has occurred, the sampled data alone generally cannot distinguish the aliased component from a genuine lower-frequency component.

Anti-Aliasing Filters

Before analog data are sampled, a low-pass filter is often used to attenuate frequency components above the intended Nyquist range. This is an anti-aliasing filter.

The workflow is conceptually

\[ \text{continuous signal} \;\longrightarrow\; \text{low-pass filtering} \;\longrightarrow\; \text{sampling}. \]

The filter transition band must be accounted for in the choice of sampling rate; practical filters do not change from full transmission to zero transmission at one exact frequency.

Filtering Sampled Data

Once data are sampled, filtering may be performed directly in the time domain or in the DFT domain.

A frequency-domain workflow is

  1. compute the DFT of the data;
  2. construct or evaluate a spectral response \(H[k]\);
  3. form \(Y[k]=H[k]X[k]\);
  4. compute the inverse DFT.

For linear convolution with finite sequences, suitable zero padding must be used to prevent unintended circular wraparound.

Finite Impulse Response Filters

A finite impulse response, or FIR, filter has only finitely many nonzero coefficients. A common form is

\[ \boxed{ y[n]=\sum_{k=0}^{M-1}b_kx[n-k] }. \]

FIR filters are conceptually straightforward because they are finite convolutions. Their frequency response is

\[ \boxed{ H(\Omega)=\sum_{k=0}^{M-1}b_ke^{-i\Omega k} }. \]

By selecting the coefficients \(b_k\), we shape the magnitude and phase response.

Recursive Filters

Some discrete filters also use previous output values. For example,

\[ y[n]=\alpha x[n]+(1-\alpha)y[n-1], \qquad 0<\alpha<1. \]

This is a simple recursive smoothing filter. Unlike a finite moving average, its impulse response continues indefinitely, though it decays when the parameters are stable.

Recursive filters can achieve strong frequency selectivity with relatively few stored coefficients, but stability and phase behavior require careful analysis.

Filter Stability

A useful input-output notion of stability is bounded-input, bounded-output stability: every bounded input should produce a bounded output.

For an LTI system, absolute integrability of the continuous impulse response,

\[ \int_{-\infty}^{\infty}|h(t)|\,dt<\infty, \]

is a standard sufficient-and-necessary criterion for BIBO stability under the usual LTI assumptions. In discrete time, the analogous condition is

\[ \boxed{ \sum_{n=-\infty}^{\infty}|h[n]|<\infty }. \]

Stability matters because a filter that amplifies certain internal modes without bound can overwhelm the intended signal processing operation.

Phase Distortion and Delay

Two filters can have similar magnitude responses but produce different waveforms because their phase responses differ.

A pure time delay \(t_0\) has frequency response

\[ \boxed{H(\omega)=e^{-i\omega t_0}}. \]

Its magnitude is \(1\) at every frequency, but its phase is

\[ \phi(\omega)=-\omega t_0. \]

Linear phase therefore corresponds to uniform delay. Nonlinear phase can shift different frequency components by different effective amounts and distort the shape of a broadband waveform.

Filtering in Spectral Coordinates

The same idea extends beyond ordinary Fourier frequency. Suppose a signal or state has an expansion

\[ x=\sum_k c_k\phi_k \]

in orthogonal spectral modes \(\phi_k\). A spectral filter acts by changing the mode coefficients:

\[ \boxed{ x_{\mathrm{filtered}} =\sum_k g_kc_k\phi_k }. \]

The multipliers \(g_k\) play the same role as the frequency response \(H(\omega)\). This connects ordinary signal filtering directly to eigenfunction expansions and spectral decomposition.

Mode Truncation as a Filter

A particularly simple spectral filter keeps only selected modes. If

\[ x=\sum_{k=1}^{\infty}c_k\phi_k, \]

then a truncated approximation is

\[ \boxed{ x_N=\sum_{k=1}^{N}c_k\phi_k }. \]

If higher-index modes correspond to increasingly rapid oscillation, truncation acts like a low-pass operation in the operator's natural spectral coordinates. This idea appears in Fourier approximation, PDE solvers, model reduction, and denoising.

Inverse Filtering and Its Limits

If

\[ Y(\omega)=H(\omega)X(\omega), \]

then one might try to recover the input through

\[ X(\omega)=\frac{Y(\omega)}{H(\omega)}. \]

This is possible only where \(H(\omega)\neq0\), and it can be highly unstable when \(|H(\omega)|\) is very small. Noise in a strongly attenuated band may be amplified enormously by division.

Deconvolution and inverse problems therefore often require regularization rather than naive spectral division.

Detecting Dominant Frequencies

Suppose a sampled signal contains several sinusoidal components. A practical analysis workflow is to compute a windowed DFT and inspect the magnitude or power spectrum for peaks.

A peak near frequency \(f_0\) suggests a strong component near that frequency, but interpretation should also consider:

Harmonics and Periodic Structure

A periodic but nonsinusoidal signal often produces spectral peaks at an integer sequence of frequencies related to a fundamental frequency \(f_0\):

\[ f_0, \quad 2f_0, \quad 3f_0, \quad\ldots \]

These components are called harmonics. Their relative strengths help characterize waveform shape. Filtering selected harmonics can change that shape even when the fundamental period remains unchanged.

Transient Signals Need Time Information

A single Fourier spectrum summarizes frequency content over the analyzed record, but it does not indicate exactly when each component occurred.

If a signal changes character over time, a local or windowed analysis can be more informative. One strategy is to analyze overlapping time windows, producing a time-frequency representation.

Short windows provide better temporal localization but poorer frequency resolution; long windows do the reverse. This is the practical manifestation of the time-frequency localization tradeoff developed earlier.

Example: Removing High-Frequency Noise

Suppose

\[ x(t)=\cos(4t)+0.3\cos(40t). \]

The first term varies slowly and the second much more rapidly. If the second term is unwanted interference, a low-pass filter with

\[ |H(4)|\approx1 \]

and

\[ |H(40)|\approx0 \]

produces approximately

\[ \boxed{y(t)\approx\cos(4t)}. \]

The filter succeeds because the desired and unwanted components are spectrally separated.

Example: First-Order Filter Gain

Let

\[ H(\omega)=\frac{1}{1+i\omega} \]

and consider an input at \(\omega=3\). The magnitude response is

\[ |H(3)|=\frac{1}{\sqrt{1+3^2}} =\frac{1}{\sqrt{10}}. \]

Therefore, an input sinusoid of amplitude \(5\) has steady-state output amplitude

\[ 5|H(3)| =\boxed{\frac{5}{\sqrt{10}}}. \]

The phase shift is

\[ \boxed{-\arctan(3)}. \]

Example: Three-Point Moving Average

Let the data be

\[ x[0]=3, \qquad x[1]=6, \qquad x[2]=9. \]

Using the causal three-point moving average and assuming earlier samples are zero,

\[ y[n]=\frac13\bigl(x[n]+x[n-1]+x[n-2]\bigr), \]

we obtain

\[ y[0]=1, \] \[ y[1]=3, \]

and

\[ \boxed{y[2]=6}. \]

The output rises more gradually because each value blends information from several neighboring samples.

Example: First Difference

For the sequence

\[ x[0]=2, \qquad x[1]=5, \qquad x[2]=9, \]

define

\[ y[n]=x[n]-x[n-1] \]

with \(x[-1]=0\). Then

\[ y[0]=2, \qquad y[1]=3, \qquad \boxed{y[2]=4}. \]

Instead of representing the level of the original signal, the output represents its sample-to-sample change.

Example: Frequency Resolution

Suppose \(N=2000\) samples are collected at

\[ f_s=1000\text{ Hz}. \]

The record length is

\[ T=\frac{2000}{1000}=2\text{ s}. \]

Therefore, the DFT bin spacing is

\[ \boxed{\Delta f=\frac{1000}{2000}=0.5\text{ Hz}}. \]

The same result follows from \(\Delta f=1/T\).

Common Error: Treating Every Filter as an Ideal Cutoff

Real filters usually have transition bands. A statement such as "everything below \(100\) Hz passes and everything above \(100\) Hz disappears" describes an idealized model, not a typical realizable response.

Always inspect the actual magnitude response and the attenuation specification.

Common Error: Looking Only at Magnitude

Magnitude response tells how strongly each frequency is amplified or attenuated, but phase response affects timing and waveform shape.

When waveform preservation matters, magnitude alone is not sufficient.

Common Error: Filtering After Aliasing

Digital filtering cannot generally recover information that was irreversibly folded into the wrong frequency band during sampling.

High-frequency components should be controlled before sampling when aliasing is a concern. That is the purpose of anti-aliasing filters.

Common Error: Ignoring Spectral Leakage

A broad group of neighboring DFT bins does not automatically mean that the original signal contains many distinct frequencies. A single sinusoid observed over a finite noninteger number of periods can spread energy across bins.

Inspect the observation duration and windowing strategy before interpreting every spectral bin as a separate physical component.

Common Error: Confusing Bin Spacing with Guaranteed Resolution

The quantity

\[ \Delta f=\frac{f_s}{N} \]

gives the spacing between DFT sample frequencies. It does not by itself guarantee that two nearby tones can be cleanly distinguished. Window shape, signal strength, noise, observation time, and estimator design also matter.

Common Error: Using Circular Convolution Accidentally

Multiplying two length-\(N\) DFTs and applying an inverse DFT produces circular convolution unless the sequences have been padded appropriately.

For finite sequences of lengths \(L\) and \(M\), at least

\[ \boxed{L+M-1} \]

output positions are needed for ordinary linear convolution without wraparound.

A Reliable Signal-Analysis Workflow

  1. identify the quantity being measured and its units;
  2. determine whether the signal is continuous or sampled;
  3. record the sampling rate and observation duration;
  4. inspect the signal in the time domain;
  5. remove known offsets or trends only when justified;
  6. choose an appropriate window when using a finite DFT record;
  7. compute the spectrum with a consistent normalization;
  8. identify useful bands, interference, harmonics, and noise regions;
  9. choose the filter type from the signal objective;
  10. inspect both magnitude and phase response when relevant;
  11. apply the filter with proper handling of boundaries and convolution length;
  12. compare the filtered and original signals in both domains;
  13. verify that desired features were preserved;
  14. document cutoff frequencies, bandwidths, delays, and other design choices.

Choosing the Right Domain

Use the time domain when the timing, duration, onset, decay, or transient shape is the main concern.

Use the frequency domain when periodic components, bandwidth, resonance, harmonic structure, filtering, or spectral energy distribution is the main concern.

In many real problems, the strongest analysis moves back and forth between the two. A filter specification may be designed spectrally, implemented by convolution, and validated by inspecting the resulting waveform in time.

Practice 1: Filter Type

A measurement contains a slowly varying desired trend and strong rapid fluctuations. Which broad filter type is the natural first choice?

Practice 2: First-Order Magnitude

For

\[ H(\omega)=\frac{1}{1+2i\omega}, \]

compute \(|H(1)|\).

Practice 3: Characteristic Frequency

A first-order low-pass system has time constant

\[ \tau=0.25\text{ s}. \]

Find its characteristic angular frequency \(\omega_c\).

Practice 4: Moving Average

Using

\[ y[n]=\frac13\bigl(x[n]+x[n-1]+x[n-2]\bigr), \]

compute \(y[2]\) if

\[ x[0]=3, \qquad x[1]=9, \qquad x[2]=6. \]

Practice 5: First Difference

For

\[ x[0]=4, \qquad x[1]=7, \qquad x[2]=5, \]

compute \(y[2]\) when

\[ y[n]=x[n]-x[n-1]. \]

Practice 6: Nyquist Frequency

A signal is sampled at

\[ f_s=800\text{ Hz}. \]

Find the Nyquist frequency.

Practice 7: DFT Bin Spacing

A record contains \(N=4096\) samples collected at \(f_s=2048\) Hz. Find the DFT bin spacing.

Practice 8: SNR

If the signal power is \(100\) times the noise power, find the SNR in decibels.

Practice 9: Spectral Filtering

A signal is represented as

\[ x=4\phi_1-2\phi_2+5\phi_3. \]

A spectral filter uses gains

\[ g_1=1, \qquad g_2=0, \qquad g_3=\frac12. \]

Find the filtered signal.

Practice 10: Identify the Limitation

A system has a frequency response satisfying

\[ H(\omega_0)=0. \]

Explain why naive inverse filtering cannot recover the input component at \(\omega_0\) from the output.

Practice Answers

Practice 1

A low-pass filter is the natural first choice because the desired behavior is slow while the unwanted variation is rapid.

\[ \boxed{\text{Low-pass filter}} \]

Practice 2

At \(\omega=1\),

\[ |H(1)| =\frac{1}{|1+2i|} =\frac{1}{\sqrt{1^2+2^2}}. \]

Therefore,

\[ \boxed{|H(1)|=\frac1{\sqrt5}}. \]

Practice 3

Since

\[ \omega_c=\frac1\tau, \]

we obtain

\[ \boxed{\omega_c=4\text{ rad/s}}. \]

Practice 4

\[ y[2] =\frac13(6+9+3) =\frac{18}{3}. \]

Thus,

\[ \boxed{y[2]=6}. \]

Practice 5

\[ y[2]=x[2]-x[1]=5-7. \]

Therefore,

\[ \boxed{y[2]=-2}. \]

Practice 6

\[ f_N=\frac{f_s}{2} =\frac{800}{2}. \]

Therefore,

\[ \boxed{f_N=400\text{ Hz}}. \]

Practice 7

\[ \Delta f=\frac{f_s}{N} =\frac{2048}{4096}. \]

Hence,

\[ \boxed{\Delta f=0.5\text{ Hz}}. \]

Practice 8

\[ \mathrm{SNR}_{\mathrm{dB}} =10\log_{10}(100) =10(2). \]

Therefore,

\[ \boxed{\mathrm{SNR}_{\mathrm{dB}}=20\text{ dB}}. \]

Practice 9

Multiply each spectral coefficient by its gain:

\[ x_{\mathrm{filtered}} =(1)(4)\phi_1 +(0)(-2)\phi_2 +\left(\frac12\right)(5)\phi_3. \]

Thus,

\[ \boxed{ x_{\mathrm{filtered}} =4\phi_1+\frac52\phi_3 }. \]

Practice 10

At \(\omega_0\), the output component satisfies

\[ Y(\omega_0) =H(\omega_0)X(\omega_0) =0. \]

The filter has completely removed that spectral component. Division by \(H(\omega_0)\) is impossible because the denominator is zero, so the original component cannot be recovered by naive inverse filtering.

What to Remember

The central LTI filtering relationships are

\[ \boxed{y=h*x} \]

and

\[ \boxed{Y=HX}. \]

The main operational habit is to inspect both domains. The time-domain waveform shows when behavior occurs; the spectral representation shows which modes or frequencies are responsible for it.

Where We Go Next

Transform and spectral methods are not limited to signal processing. The same orthogonal modes that separate frequencies also arise when differential equations are constrained by conditions at spatial boundaries. Those conditions select the admissible eigenfunctions and determine which spectral modes can occur.

The next lesson, Boundary-Value Problems, develops this connection. We will examine differential equations subject to endpoint or boundary conditions, distinguish boundary-value problems from initial-value problems, study eigenvalue conditions, and show how Fourier and eigenfunction expansions turn boundary-driven differential equations into solvable spectral systems.