I want to compare time and frequency marginals of Wigner-Ville distribution and STFT. I can calculate WVD's marginals by simple sum operation since WVD is real. But I could not figure out how to deal with STFT.
sum((WVD(x))') give the marginals where
' denotes the matrix transpose operation.
Similarly, for STFT, I think I should do two summations, but there are two problems. STFT is complex, and length of STFT is based on the window length and overlap length. In order to compare, length of STFT and WVD should be equal.
I will compare these to the real frequency and time densities, which are $|x(t)|^2$ and $|X(\omega)|^2$, where $X(\omega)$ is the Fourier spectrum of the signal.
Any ideas? Thanks...