Window correction using pwelch function

3 ビュー (過去 30 日間)
Armindo
Armindo 2016 年 3 月 8 日
編集済み: Armindo 2016 年 3 月 8 日
For what I read Windowing the data introduces errors. Can anyone clarify me please what correction should I do (if any is needed) to calculate the psd and the power (see SpectrumType below) using the pwelch function.
What I have done:
N = length(Ydata);
wlen= rectwin(Npoints;);
nfft = Npoints; % (e.g. 256, 1024, etc) % nfft = 2^(nextpow2(N))
SpectrumType = 'psd'; % or 'power'
Noverlap = [];
[Pxx,f] = pwelch(Ydata,wlen,Noverlap,nfft,Fs,SpectrumType);
If any correction is needed can you provide me please the correcttion values for this windows.
rectwin
hamming
hanning
bartlett
blackman
kaiser
chebwin

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpectral Estimation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by