stft for complex data

10 views (last 30 days)
nur dsc
nur dsc on 6 Apr 2021
Commented: Bjorn Gustavsson on 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 Comments
Mathieu NOE
Mathieu NOE on 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 on 6 Apr 2021
Hello,
No, applying stft for each one is not useful to get frequency domain response effectively.

Sign in to comment.

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 6 Apr 2021
Shouldn't that be as simle as:
Acmplx = I + 1i*Q;
spec = fft(Acmplx); % or spectrogram etc
HTH
  2 Comments
nur dsc
nur dsc on 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 on 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!