MATLAB: I have a complex numbers and zero values. When I have tried to take the ifft of these values, I got complex numbers for zero values, is it ok

complex values for zero values when ifft is used

Dear All: I have a problem of getting complex values for zero values like (4.71e-12+1.26e-12i)when I use ifft for these values. Is this ok? Please help me with this issue? Thanks. Mohammed

Best Answer

Looks like round-off error to me. Especially when there is a large range of values, ifft(fft(x)) might not be exactly x