getting frequency data to time data

1 view (last 30 days)
Fabian Chowanek
Fabian Chowanek on 8 Jun 2020
Answered: Chaitanya Mallela on 18 Aug 2020
.. 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)

Chaitanya Mallela
Chaitanya Mallela on 18 Aug 2020
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

Community Treasure Hunt

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

Start Hunting!