Retrieving The Estimated Window Size For pwelch Function

2 views (last 30 days)
For learning purposes, I am trying to return the estimated window size value from the pwelch function.
I have a 500hz + 550hz computed sine wave with an fs = 50000 , N = 5000 .
With the function called:
[pw, window] = pwelch(x, [], [], [], fs);
My window variable is a 1025 length vector with low value doubles. If pwelch automatically segments x into 8 parts, why am I not seeing a scalar with the value of 625 (5000 / 8) ?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!