, we can determine its frequency response using the Discrete Fourier Transform (DFT):
onto a set of
sampled complex sinusoids or sinusoidal basis functions at (normalized) radian frequencies given by
.
consists of
samples,
will consist of
frequency weights (assuming no zero-padding). Based on the sampling theorem, however, only the first half of these frequency components are unique.
, its magnitude can be determined as
. The Matlab function abs performs this calculation.
, the phase angle is determined as
. The Matlab function angle performs this calculation.
![]() |
| ©2004-2025 McGill University. All Rights Reserved. Maintained by Gary P. Scavone. |