pwelch right window length

6 views (last 30 days)
hamed
hamed on 22 Jun 2017
Hi all
I'm working a project about EEG signal analyzing. I want to use pwelch for power spectral analyzing.
[pxx,f] = pwelch(x,window,noverlap,f,fs)
my signal length is 50000 with sampling frequency 500.(100 seconds)
I have 2 questions:
1- If we select the window length for example 100 the pwelch just compute the 100 sample of 50000 or no it computes all length of my signal based on windows with length 100.
2- and what is the right window length because when I change the window length my mean of power changed a lot (goes up and down). Here I selected 7 different window length (100,200,500,1000,2500,5000,10000). What is the exact method for finding right window length?
I will so appreciate if you could help me.
p100 = 23.8822
p200 = 23.8629
p500 = 23.9544
p1000 = 24.0589
p2500 = 24.4060
p5000 = 21.4077
p10000 = 17.1608

Answers (0)

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!