I have complex frequency-domain data that I would like to use to make a spectrogram (energy vs freq and time). The frequency-domain spectrum is evenly sampled with respect to angular frequency, and contains both magnitude and phase information. I also already have a program that calculates the complex time-domain waveform for the data. Is there a way to generate the spectrogram of these data, either by using a combination of built-in functions, or some other method?
I have looked into using the built-in spectrogram function for this problem, but it seems to deal only with real data, and to assume that the given data is in the time domain. It also doesn't seem to take a scale along with the amplitude values it reads... in this case, how can it properly display the time and frequency scales?
Since I already have the phase of each frequency within my data, I think it should be possible to translate phase into time delay. I'm just having trouble figuring out how to actually do this. Does anyone have any ideas? Thanks!