This function estimates cross power spectrum of data x and y by the Welch (1967) periodogram/FFT method.
[PXX, FREQ] = cpsd(X, Y) [...] = cpsd(X, Y, WINDOW) [...] = cpsd(X, Y, WINDOW, OVERLAP) [...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT) [...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT, FS) [...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT, FS, RANGE) cpsd(...)
Matrix or integer
Estimate cross power spectrum of data X and Y by the Welch (1967) periodogram/FFT method.