Why does pwelch function use a hamming window as default while periodogram function use a rectangular window?
Ältere Kommentare anzeigen
Is the algorithm of the "pwelch" function the same with the algorithm of the "periodogram" function? Why do they use different default window? In the "periodogram" function, the result is scaled with 2*pi*N. But it seems that in the "pwelch" function, the result is scaled with pi*N. Where can I get the algorithm of the "pwelch" function? If I change the hamming window to a rectangular window in "pwelch" function, why is the estimate spectrum not accurate when the digital frequency is close to pi?
Antworten (1)
the cyclist
am 21 Apr. 2014
0 Stimmen
I don't have the Signal Processing Toolbox, so I can't help much. But here are two tips:
- Take a look at the documentation. There are often references there that related to the algorithms chosen.
- Take a look at the details of the function itself by typing "edit pwelch" at the command line.
Kategorien
Mehr zu Hamming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!