Transforming a complex single sided spectra to time domain

조회 수: 3 (최근 30일)
jack walker
jack walker 2019년 11월 13일
답변: Muhammad Waqar 2021년 12월 10일
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])

답변 (1개)

Muhammad Waqar
Muhammad Waqar 2021년 12월 10일
Hi there,
Here is a link to an easy-to-use function to perform fft or ifft along with an example:

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by