How to use pwelch for PSD?
Mostra commenti meno recenti
hi everyone, Do you know about pwelch function? I did a lot of searching on google but didn't find any documentation that explains correctly for me to understand. When I want to use the pwelch function, do I have to care about the window or can I leave it at the default. For an example:
If I want to use window for eeg signal, what kind of window can i use for best perform? and what are the parameters passed in?
Hope I don't bother you,
[pb,f] = pwelch(Data(1,:),hamming(256),[],[1 256],128);
[pb,f] = pwelch(Data(1,:),[],[],[],128);
2 Commenti
Bora Eryilmaz
il 12 Dic 2022
Modificato: Bora Eryilmaz
il 12 Dic 2022
I recommend using pspectrum instead, which is more straighforward to use. It internally uses the Kaiser window, which is controlled by the "Leakage" parameter of the pspectrum command. Kaiser window is pretty optimal when it comes to selecting a window for spectrum computation.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Spectral Estimation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
