How should I calculate power spectral density of signal with too high sampling rate
古いコメントを表示
Dear All,
I have a signal with high sampling rate (10000 Hz) and I would like to calculate power spectral density in the frequency range 0-50 Hz. Therefore, sampling rate 100 Hz would be sufficient.
My question is whether signal should be resampled by averaging 100 samples and then the spectrum should be calculated, or the spectrum should be calculated on the original signal. Should the results be the same? If not, which one would be more correct?
Best, Urban
採用された回答
その他の回答 (2 件)
Image Analyst
2014 年 10 月 10 日
0 投票
Yeah but it would reduce your resolution. I agree with Star, just do the whole thing and crop out or look at just the range you want. Especially since you have such a tiny amount of data (I'm assuming your data doesn't amount to hundreds of millions, or billions, of samples or anything). You might use pwelch() in the Signal Processing Toolbox, which is what the Mathworks recommended in the latest spectral filtering webinar, rather than fft.
Urban
2014 年 10 月 10 日
0 投票
2 件のコメント
Image Analyst
2014 年 10 月 10 日
Well if you have a periodic signal that gets wiped out when you blur/average with a window size of 100 then the spike will go away. Of course you know that your frequency axis is now changed so you can't look at the same number of elements from pwelch and assume they correspond to the same frequency range as the original full signal.
Urban
2014 年 10 月 10 日
カテゴリ
ヘルプ センター および File Exchange で Parametric Spectral Estimation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!