In
signal processing
Signal processing is an electrical engineering subfield that focuses on analyzing, modifying and synthesizing ''signals'', such as audio signal processing, sound, image processing, images, Scalar potential, potential fields, Seismic tomograph ...
, the output of the matched filter is given by
correlating a known delayed
signal
A signal is both the process and the result of transmission of data over some media accomplished by embedding some variation. Signals are important in multiple subject fields including signal processing, information theory and biology.
In ...
, or ''template'', with an unknown signal to detect the presence of the template in the unknown signal.
This is equivalent to
convolving the unknown signal with a
conjugated time-reversed version of the template. The matched filter is the optimal
linear filter for maximizing the
signal-to-noise ratio
Signal-to-noise ratio (SNR or S/N) is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. SNR is defined as the ratio of signal power to noise power, often expressed in deci ...
(SNR) in the presence of additive
stochastic Stochastic (; ) is the property of being well-described by a random probability distribution. ''Stochasticity'' and ''randomness'' are technically distinct concepts: the former refers to a modeling approach, while the latter describes phenomena; i ...
noise
Noise is sound, chiefly unwanted, unintentional, or harmful sound considered unpleasant, loud, or disruptive to mental or hearing faculties. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrat ...
.
Matched filters are commonly used in
radar
Radar is a system that uses radio waves to determine the distance ('' ranging''), direction ( azimuth and elevation angles), and radial velocity of objects relative to the site. It is a radiodetermination method used to detect and track ...
, in which a known signal is sent out, and the reflected signal is examined for common elements of the out-going signal.
Pulse compression
Pulse compression is a signal processing technique commonly used by radar, sonar and Ultrasound, echography to either increase the range angular resolution, resolution when pulse length is constrained or increase the Signal-to-noise ratio, signal ...
is an example of matched filtering. It is so called because the impulse response is matched to input pulse signals. Two-dimensional matched filters are commonly used in
image processing
An image or picture is a visual representation. An image can be two-dimensional, such as a drawing, painting, or photograph, or three-dimensional, such as a carving or sculpture. Images may be displayed through other media, including a pr ...
, e.g., to improve the SNR of X-ray observations. Additional applications of note are in
seismology
Seismology (; from Ancient Greek σεισμός (''seismós'') meaning "earthquake" and -λογία (''-logía'') meaning "study of") is the scientific study of earthquakes (or generally, quakes) and the generation and propagation of elastic ...
and
gravitational-wave astronomy.
Matched filtering is a demodulation technique with
LTI (linear time invariant) filters to maximize SNR.
It was originally also known as a ''North filter''.
Derivation
Derivation via matrix algebra
The following section derives the matched filter for a
discrete-time system. The derivation for a
continuous-time system is similar, with summations replaced with integrals.
The matched filter is the linear filter,
, that maximizes the output
signal-to-noise ratio
Signal-to-noise ratio (SNR or S/N) is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. SNR is defined as the ratio of signal power to noise power, often expressed in deci ...
.
:
where