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 ...
, a sinc filter can refer to either a sinc-in-time
filter whose
impulse response
In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
is a
sinc function
In mathematics, physics and engineering, the sinc function ( ), denoted by , has two forms, normalized and unnormalized..
In mathematics, the historical unnormalized sinc function is defined for by
\operatorname(x) = \frac.
Alternatively, ...
and whose
frequency response
In signal processing and electronics, the frequency response of a system is the quantitative measure of the magnitude and Phase (waves), phase of the output as a function of input frequency. The frequency response is widely used in the design and ...
is rectangular, or to a sinc-in-frequency filter whose impulse response is rectangular and whose frequency response is a sinc function. Calling them according to which domain the filter resembles a sinc avoids confusion. If the domain is unspecified, sinc-in-time is often assumed, or context hopefully can infer the correct domain.
Sinc-in-time
Sinc-in-time is an ideal
filter that removes all frequency components above a given
cutoff frequency
In physics and electrical engineering, a cutoff frequency, corner frequency, or break frequency is a boundary in a system's frequency response at which energy flowing through the system begins to be reduced ( attenuated or reflected) rather than ...
, without attenuating lower frequencies, and has
linear phase response. It may thus be considered a ''brick-wall filter'' or ''rectangular filter.''
Its
impulse response
In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
is a
sinc function
In mathematics, physics and engineering, the sinc function ( ), denoted by , has two forms, normalized and unnormalized..
In mathematics, the historical unnormalized sinc function is defined for by
\operatorname(x) = \frac.
Alternatively, ...
in the
time domain
In mathematics and signal processing, the time domain is a representation of how a signal, function, or data set varies with time. It is used for the analysis of mathematical functions, physical signals or time series of economic or environmental ...
:
while its
frequency response
In signal processing and electronics, the frequency response of a system is the quantitative measure of the magnitude and Phase (waves), phase of the output as a function of input frequency. The frequency response is widely used in the design and ...
is a
rectangular function
The rectangular function (also known as the rectangle function, rect function, Pi function, Heaviside Pi function, gate function, unit pulse, or the normalized boxcar function) is defined as
\operatorname\left(\frac\right) = \Pi\left(\frac\ri ...
:
:
where
(representing its
bandwidth
Bandwidth commonly refers to:
* Bandwidth (signal processing) or ''analog bandwidth'', ''frequency bandwidth'', or ''radio bandwidth'', a measure of the width of a frequency range
* Bandwidth (computing), the rate of data transfer, bit rate or thr ...
) is an arbitrary cutoff frequency.
Its impulse response is given by the
inverse Fourier transform
In mathematics, the Fourier inversion theorem says that for many types of functions it is possible to recover a function from its Fourier transform. Intuitively it may be viewed as the statement that if we know all frequency#Frequency_of_waves, fr ...
of its frequency response:
:
where ''sinc'' is the normalized
sinc function
In mathematics, physics and engineering, the sinc function ( ), denoted by , has two forms, normalized and unnormalized..
In mathematics, the historical unnormalized sinc function is defined for by
\operatorname(x) = \frac.
Alternatively, ...
.
Brick-wall filters
An idealized
electronic filter
Electronic filters are a type of signal processing filter in the form of electrical circuits. This article covers those filters consisting of lumped-element model, lumped electronic components, as opposed to distributed-element filters. That ...
with full transmission in the pass band, complete attenuation in the stop band, and abrupt transitions is known colloquially as a "brick-wall filter" (in reference to the shape of the
transfer function
In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
). The sinc-in-time filter is a brick-wall
low-pass filter
A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
, from which brick-wall
band-pass filter
A band-pass filter or bandpass filter (BPF) is a device that passes frequencies within a certain range and rejects ( attenuates) frequencies outside that range.
It is the inverse of a '' band-stop filter''.
Description
In electronics and s ...
s and
high-pass filter
A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. The amount of attenuation for each frequency ...
s are easily constructed.
The lowpass filter with brick-wall cutoff at frequency ''B''
''L'' has impulse response and transfer function given by:
:
:
The band-pass filter with lower band edge ''B''
''L'' and upper band edge ''B''
''H'' is just the difference of two such sinc-in-time filters (since the filters are zero phase, their magnitude responses subtract directly):
:
:
The high-pass filter with lower band edge ''B''
''H'' is just a transparent filter minus a sinc-in-time filter, which makes it clear that the
Dirac delta function
In mathematical analysis, the Dirac delta function (or distribution), also known as the unit impulse, is a generalized function on the real numbers, whose value is zero everywhere except at zero, and whose integral over the entire real line ...
is the limit of a narrow-in-time sinc-in-time filter:
:
:
Unrealizable
As the sinc-in-time filter has infinite impulse response in both positive and negative time directions, it is
non-causal and has an infinite delay (i.e., its
compact support
In mathematics, the support of a real-valued function f is the subset of the function domain of elements that are not mapped to zero. If the domain of f is a topological space, then the support of f is instead defined as the smallest closed ...
in the
frequency domain
In mathematics, physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency (and possibly phase), rather than time, as in time ser ...
forces its time response not to have compact support meaning that it is ever-lasting) and infinite order (i.e., the response cannot be expressed as a
linear differential equation
In mathematics, a linear differential equation is a differential equation that is linear equation, linear in the unknown function and its derivatives, so it can be written in the form
a_0(x)y + a_1(x)y' + a_2(x)y'' \cdots + a_n(x)y^ = b(x)
wher ...
with a finite sum). However, it is used in conceptual demonstrations or proofs, such as the
sampling theorem
Sampling may refer to:
*Sampling (signal processing), converting a continuous signal into a discrete signal
*Sample (graphics), Sampling (graphics), converting continuous colors into discrete color components
*Sampling (music), the reuse of a soun ...
and the
Whittaker–Shannon interpolation formula
The Whittaker–Shannon interpolation formula or sinc interpolation is a method to construct a continuous-time bandlimited function from a sequence of real numbers. The formula dates back to the works of E. Borel in 1898, and E. T. Whittaker ...
.
Sinc-in-time filters must be approximated for real-world (non-abstract) applications, typically by
windowing and truncating an ideal sinc-in-time filter
kernel
Kernel may refer to:
Computing
* Kernel (operating system), the central component of most operating systems
* Kernel (image processing), a matrix used for image convolution
* Compute kernel, in GPGPU programming
* Kernel method, in machine learnin ...
, but doing so reduces its ideal properties. This applies to other brick-wall filters built using sinc-in-time filters.
Stability
The sinc filter is not
bounded-input–bounded-output (BIBO) stable. That is, a bounded input can produce an unbounded output, because the integral of the absolute value of the sinc function is infinite. A bounded input that produces an unbounded output is sgn(sinc(''t'')). Another is sin(2''Bt'')''u''(''t''), a sine wave starting at time 0, at the cutoff frequency.
Frequency-domain sinc

The simplest implementation of a sinc-in-frequency filter uses a
boxcar
A boxcar is the North American (Association of American Railroads, AAR) and South Australian Railways term for a Railroad car#Freight cars, railroad car that is enclosed and generally used to carry freight. The boxcar, while not the simpl ...
impulse response to produce a
simple moving average
In statistics, a moving average (rolling average or running average or moving mean or rolling mean) is a calculation to analyze data points by creating a series of averages of different selections of the full data set. Variations include: simple ...
(specifically if divide by the number of samples), also known as accumulate-and-dump filter (specifically if simply sum without a division). It can be modeled as a FIR filter with all
coefficients equal. It is sometimes cascaded to produce higher-order moving averages (see and
cascaded integrator–comb filter).
This filter can be used for crude but fast and easy
downsampling
In digital signal processing, downsampling, compression, and decimation are terms associated with the process of ''resampling'' in a multi-rate digital signal processing system. Both ''downsampling'' and ''decimation'' can be synonymous with ''co ...
(a.k.a. decimation) by a factor of ''
'' The simplicity of the filter is foiled by its mediocre low-pass capabilities. The stop-band contains periodic lobes with gradually decreasing height in between the nulls at multiples of
. The first lobe is -11.3
dB for a 4-sample moving average, or -12.8 dB for an 8-sample moving average, and -13.1 dB for a 16-sample moving average. An
-sample filter sampled at
will alias all non-fully attenuated signal components lying above
to the
baseband
In telecommunications and signal processing, baseband is the range of frequencies occupied by a signal that has not been modulated to higher frequencies. Baseband signals typically originate from transducers, converting some other variable into ...
ranging from
DC to
A group averaging filter processing
samples has
transmission zeroes evenly-spaced by
with the lowest zero at
and the highest zero at
(the
Nyquist frequency
In signal processing, the Nyquist frequency (or folding frequency), named after Harry Nyquist, is a characteristic of a Sampling (signal processing), sampler, which converts a continuous function or signal into a discrete sequence. For a given S ...
). Above the Nyquist frequency, the frequency response is mirrored and then is repeated periodically above
forever.
The
magnitude
Magnitude may refer to:
Mathematics
*Euclidean vector, a quantity defined by both its magnitude and its direction
*Magnitude (mathematics), the relative size of an object
*Norm (mathematics), a term for the size or length of a vector
*Order of ...
of the frequency response (plotted in these graphs) is useful when one wants to know how much frequencies are attenuated. Though the sinc function really oscillates between negative and positive values, negative values of the frequency response simply correspond to a 180-degree
phase shift
In physics and mathematics, the phase (symbol φ or ϕ) of a wave or other periodic function F of some real variable t (such as time) is an angle-like quantity representing the fraction of the cycle covered up to t. It is expressed in such a s ...
.
An ''inverse sinc filter'' may be used for
equalization in the digital domain (e.g. a
FIR filter
In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of ''finite'' duration, because it settles to zero in finite time. This is in contrast to infinite impulse ...
) or analog domain (e.g.
opamp filter) to counteract undesired attenuation in the frequency band of interest to provide a flat frequency response.
See for application of the sinc kernel as the simplest windowing function.
See also
*
Lanczos resampling
Lanczos filtering and Lanczos resampling are two applications of a certain mathematical formula. It can be used as a low-pass filter or used to smoothly interpolate the value of a digital signal between its samples. In the latter case, it maps ...
*
Aliasing
In signal processing and related disciplines, aliasing is a phenomenon that a reconstructed signal from samples of the original signal contains low frequency components that are not present in the original one. This is caused when, in the ori ...
*
Anti-aliasing filter
An anti-aliasing filter (AAF) is a filter used before a signal sampler to restrict the bandwidth of a signal to satisfy the Nyquist–Shannon sampling theorem over the band of interest. Since the theorem states that unambiguous reconstructi ...
References
External links
Brick Wall Digital Filters and Phase DeviationsBrick-wall filters
{{DEFAULTSORT:Sinc Filter
Signal processing
Digital signal processing
Filter theory
Filter frequency response