Search Spectral Audio Signal Processing
Book Index | Global Index
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
Sinusoidal Amplitude Estimation
If the sinusoidal frequency
and phase
happen to be
known, we obtain a simple linear least squares problem for the
amplitude
. That is, the error signal
becomes
linear in the unknown parameter

. As a result, the
sum of squared errors
 |
(5.11) |
becomes a simple
quadratic (parabola) over the real line.
Quadratic forms in any number of dimensions are easy to minimize. For
example, the ``bottom of the bowl'' can be reached in one step of
Newton's method. From another point of view, the optimal
parameter

can be obtained as the coefficient of
orthogonal
projection of the data

onto the space spanned by all values of

in the linear model

.
Yet a third way to minimize (4.11) is the method taught in
elementary calculus: differentiate
with respect to
, equate
it to zero, and solve for
. In preparation for this, it is helpful to
write (4.11) as
Differentiating with respect to
and equating to zero yields
re
Solving this for

gives the optimal least-squares amplitude estimate
That is, the optimal least-squares amplitude estimate may be found by the
following steps:
- Multiply the data
by
to zero the known phase
.
- Take the DFT of the
samples of
, suitably zero padded to approximate the DTFT, and evaluate it at the known frequency
.
- Discard any imaginary part since it can only contain noise, by (4.12).
- Divide by
to obtain a properly normalized coefficient of projection
[248] onto the sinusoid
Previous: Least Squares Sinusoidal Parameter EstimationNext: Sinusoidal Amplitude and Phase Estimation
About the Author: Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at
Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See
http://ccrma.stanford.edu/~jos/ for details.