In signal processing, the frequency response of an analog or digital equipment or software is some representation, usually numeric, graphical, or mathematical, of how that equipment or software impacts frequencies.

Since a frequency is fully defined by its amplitude and phase, the frequency response typically describes how the equipment, software (or any system) impacts the amplitude and phase of a set of frequencies. When describing only amplitudes, the impact is called the magnitude response of the system. When describing only phase, the impact is called the phase response of the system. Additional detail and examples of magnitude responses and phase responses is provided in their respective topics.

## Frequency response and transfer functions

In the general case, when the system is defined with a transfer function, the frequency response (both magnitude response and phase response) can be computed from the transfer function. For example, given the Z transform transfer function H(z) of a linear time-invariant systems, the magnitude of H(z), |H(z)|, z = A e^{-j ω}, when evaluated at A = 1 (on the unit circle), produces the magnitude response of the system

where Re and Im are the real and imaginary parts of H. The phase response of the system is

Similarly, the magnitude response of a system defined with its Laplace transform transfer function H(s), s = σ + j ω, evaluated at σ = 0, is |H(j ω)| and its phase response is arg(H(j ω)).

## Example: Frequency response of a finite impulse response filter

A finite impulse response filter a(k) of length N computes the output signal y(k) from the input signal x(k) with the formula

The Z transform of both sides of the equation above produces

and the transfer function of the filter is

Thus, the magnitude response of the filter at the frequency f is

If the filter is one with coefficients that are symmetric around the middle, it can be shown that the phase response is as follows (see Phase response).

## Example: frequency response of headphones

Occasionally, you may see the frequency response of headphones (or, say, speakers) listed as (20 Hz, 20 KHz) for example. This is a particularly simplistic representation of the frequency response and it means that the headphones are able to reproduce frequencies between 20 Hz and 20 KHz. Thus, if an input signal contains frequencies in this interval it will be reproduced by the headphones. You would not know, however, how well these headphones will do for specific frequencies. It may be that a bass at 300 Hz is reproduced, but at lower amplitude, which means that the bass will be heard through the headphones, but not very well.

## Add new comment