MATLAB: The use of IFFT

Can any kind soul please help or provide some kickstart?
I have a transfer function/frequency response, h(f). Where h(f) is calculated by applying FFT to the csv data and then V2(f) is divided with V1(f).

Best Answer

Your data are frequency and only the corresponding amplitudes of the input and output signal at each frequency. You need to measure the phase data at each frequency as well, and since this is missing, half of your data are missing.
You could calculate the transfer function from the complex fft of both the input and output time domain data, but lacking the phase data, reconstructing the impulse response is not possible.
If you have complex frequency data, you can use the Signal Processing Toolbox invfreqz function to estimate the transfer function, and then use impz to calculate the impulse response.