getting frequency data to time data

.. Hi .. I know it sounds just too simple, but imagine I have just frequency data and I need the time data out of it to plot some other magnitude data over the time in 1/samplerate.
Am I just going to say
time = ifft(freq)
?
Or should I be cautious because the freq vector might be complex?
TY

Answers (1)

ifft function transforms the complex signal data from frequency domain to time domain where the time difference between the successive samples of the time domain data equal to the inverse of Sampling Frequency.
For more information refer the documentation link

Categories

Find more on Measurements and Spatial Audio in Help Center and File Exchange

Asked:

on 8 Jun 2020

Answered:

on 18 Aug 2020

Community Treasure Hunt

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

Start Hunting!