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

回答(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

类别

帮助中心File Exchange 中查找有关 Measurements and Spatial Audio 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by