How should I calculate power spectral density of signal with too high sampling rate
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (2)
Image Analyst
el 10 de Oct. de 2014
0 votos
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
el 10 de Oct. de 2014
0 votos
2 comentarios
Image Analyst
el 10 de Oct. de 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
el 10 de Oct. de 2014
Categorías
Más información sobre Parametric Spectral Estimation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!