Transforming a complex single sided spectra to time domain

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])

Products

Release

R2019a

Asked:

on 13 Nov 2019

Answered:

on 10 Dec 2021

Community Treasure Hunt

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

Start Hunting!