79221354

Date: 2024-11-25 01:02:28
Score: 2
Natty:
Report link

The discrepancy between your C# implementation of the Welch's method and MATLAB's pwelch function when using a smaller window size (like hanning(512)) is likely due to differences in how the windowing is handled at the signal edges when segmenting the data; specifically, how MATLAB might be implicitly zero-padding the signal at the boundaries when calculating segments with a smaller window size than the segment length.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josh Dunn