Computing confidence level in spectrum (after fft).

4 ビュー (過去 30 日間)
Jonah Geils
Jonah Geils 2018 年 9 月 10 日
コメント済み: Jonah Geils 2021 年 6 月 4 日
Hello,
I would like to compute confidence levels after I did a fft. What are the approaches? I tried:
1) to compute the background of the spectrum with a quadratic fit (in log-Power-spec). Afterwards I want to add the confidence interval (calculated with the variance). - Here the fit looks quite bad.
2) to use pwelch. With [pxx,f_C,pxxc] = pwelch(x,[],[],fs,'ConfidenceLevel',0.95) I get some errors:
Error using zeros
Size inputs must be integers.
Error in welch (line 81)
Sxx = zeros(nFreqs,size(x,2),class(x)); %#ok<*ZEROLIKE>
Error in pwelch (line 158)
[varargout{1:nargout}] = welch(x,esttype,varargin{:});
Error in preproc_ngk (line 701)
[pxx,f_C,pxxc] = pwelch(x,hamming(L),noverlap,fs,'ConfidenceLevel',0.95);
Maybe you know a different way to solve the problem? Or maybe there is a mistake with pwelch.
Thanks, Jonah
  2 件のコメント
Jie Zhang
Jie Zhang 2021 年 6 月 2 日
I have the same question. Could you please tell me how you solved it? Thanks a lot.
Jonah Geils
Jonah Geils 2021 年 6 月 4 日
Hi, I didn't solved it at all -_-

サインインしてコメントする。

回答 (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