Discrepancies between Power Spectra and Data
Mostrar comentarios más antiguos
Hi MATLAB users,
I have time-series of repetitive burst, like the following link (lower trace): http://mitpdev.mit.edu/library/erefs/arbib/images/figures/A002_fig001.gif
The bursting occurs at a frequency of 0.5Hz, and within the burst there are frequencies of between 50-70Hz. Sampling at 10millisecs, my power spectra;
Fs=100;
pwelch(event_train,128,120,[],Fs,'onesided')
doesn't give me what I would expect (peaks at 0.5Hz and 50-70Hz). What am I doing wrong?
Thanks,
Linford
1 comentario
Linford Briant
el 17 de Mzo. de 2012
Respuesta aceptada
Más respuestas (2)
Rick Rosson
el 17 de Mzo. de 2012
1 voto
With a sampling rate of 100 samples per second, the Nyquist frequency is 50 hertz. That means the maximum frequency that you can represent in the spectrum is 50 hertz, which is less than your frequencies of interest, 50 to 70 hertz.
4 comentarios
Linford Briant
el 17 de Mzo. de 2012
Rick Rosson
el 17 de Mzo. de 2012
You need a sampling rate of at least 140 samples per second to see a peak at 70 hertz. So, yes, 200 samples per second would be okay.
Rick Rosson
el 17 de Mzo. de 2012
Also, Wayne's suggestions related to the resolution of the spectrum and filtering out the DC component are spot on.
Linford Briant
el 17 de Mzo. de 2012
Dimitris Malamas
el 29 de Mzo. de 2013
0 votos
Hi, I have time-series (MER) of a Parkinson patient, the sample frequence is 24000 Hz. I want to estimate the power spectrum density of the spike trains, I used Welch method, it's parameters incuded a Hanning window and a 50% overlap between windows that produced a 0.5 Hz spectral resolution. But i have a problem, i am not sure if i used the right input data, from Matlabs help : [Pxx,f]=pwelch(x,window,noverlap,nfft,fs), i am not sure about fs, it means the sample frequency of MER or something else?
Categorías
Más información sobre Spectral Estimation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!