How should I calculate power spectral density of signal with too high sampling rate
Show older comments
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
Accepted Answer
More Answers (2)
Image Analyst
on 10 Oct 2014
0 votes
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
on 10 Oct 2014
0 votes
2 Comments
Image Analyst
on 10 Oct 2014
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
on 10 Oct 2014
Categories
Find more on Parametric Spectral Estimation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!