Azzera filtri
Azzera filtri

stft for complex data

14 visualizzazioni (ultimi 30 giorni)
nur dsc
nur dsc il 6 Apr 2021
Commentato: Bjorn Gustavsson il 12 Apr 2021
Hello,
I have I and Q signals and want to see my data in frequency domain. So is there any way to get stft of I and Q signals in complex form ?
Thanks.
  2 Commenti
Mathieu NOE
Mathieu NOE il 6 Apr 2021
hello
I and Q are real valued data ? not complex I assume , so you can do stft of each one
nur dsc
nur dsc il 6 Apr 2021
Hello,
No, applying stft for each one is not useful to get frequency domain response effectively.

Accedi per commentare.

Risposte (1)

Bjorn Gustavsson
Bjorn Gustavsson il 6 Apr 2021
Shouldn't that be as simle as:
Acmplx = I + 1i*Q;
spec = fft(Acmplx); % or spectrogram etc
HTH
  2 Commenti
nur dsc
nur dsc il 12 Apr 2021
Hi,
If you have orijinal x signal you can use hilbert(x).
result = hilbert(x)
then you can apply stft to result.
result_updated = stft(result)
But thanks for answer :)
Bjorn Gustavsson
Bjorn Gustavsson il 12 Apr 2021
What is the I and Q signals you have? Explicitly.
If you have the original signal there is no need to Hilbert-transform before doing the STFT-analysis.

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by