Currently i'm looking into the PSD function and something keeps frustrating
me. I have the following formula (this is and intermediate result
displayed
in MatLab):
mvalresults.*exp(1).^(-j*(2*pi*k*coswindowvalues/N));
Where:
mvalresults = Hanning window multiplied by inputvector.
coswindowvalues = A vector from 0:N-1 where N is the length of the
inputvector.
The exponential is what confuses me. I've seen this formula other places
and noone explains what exactly j is. The formula states k is bounded by
0 <= k <= N/2, but could someone explain to me what j is and what to set
it to?
The above formula is taken from Painter & Spanias: Perceptual Coding of
Digital Audio.
Thanks in advance.