why is periodogram(y,w) not periodogram(y.*w)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Wesley Ooms
am 6 Feb. 2014
Bearbeitet: Wesley Ooms
am 7 Feb. 2014
why is periodogram(y,w) not the same as periodogram(y.*w), where y is the signal and w the window. For a rectangular window it is the same but for a hanning window there is a difference that has something to do with the mean and variance of the window I guess. What exactly is this difference? And why is this difference there? Same holds for pwelch.
0 Kommentare
Akzeptierte Antwort
Wayne King
am 6 Feb. 2014
Bearbeitet: Wayne King
am 6 Feb. 2014
The difference is that the syntax periodogram(y,w) uses the window normalization constant explained here:
Read about the modified periodogram.
While periodogram(y.*w) does not use that normalization because you are using a rectangular window
I would recommend using
periodogram(y,w)
However, if you look at the two periodograms, you'll see that one is simply a scaled version of the other and that scaling is due to window normalization you get with
periodogram(y,w)
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spectral Estimation finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!