Transforming a complex single sided spectra to time domain

3 vues (au cours des 30 derniers jours)
jack walker
jack walker le 13 Nov 2019
I want to transform a single sided complex spectrum to a time domain wave using the IFFT function. I want a real time domain signal so build a 2 sided conjugate symmetrical signal but the output of my IFFT is still complex. Can someone please advice where I am going wrong? Code below (FreqData is the complex single sided spectrum)
H=flipud(conj(FreqData))
ifft([FreqData;H])

Réponses (1)

Muhammad Waqar
Muhammad Waqar le 10 Déc 2021
Hi there,
Here is a link to an easy-to-use function to perform fft or ifft along with an example:

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by