0
$\begingroup$

pwelch is a useful matlab function for computing real/magnitudes for power using WOSA method, but I'd like to apply the same thinking in order to output complex pairs for amplitude (not power) spectra.

Does anyone know if this is possible? Or if there is an existing script that I might be able to modify?

Thanks!

$\endgroup$

1 Answer 1

1
$\begingroup$

I've found this: Implementing Welch's method for Power Spectral Density

That seems to answer the question. However, the author encountered a problem, which I believe may be addressed by modifying the code that was identified as problematic in the thread by:

dataA(istart:iend,j) = data1(istart:iend,j).*window; dataB(istart:iend,j) = data2(istart:iend,j).*window;

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.