How to obtain IFFT for a set of experimental data in a text file?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have the data taken from spectrum analyzer in a text file. (This is a frequency domain signal) I want to get the time domain signal of this signal using IFFT. Can anyone explain me the procedure to get the time domain signal? I have attached the text file with this.
9 commentaires
Walter Roberson
le 13 Fév 2020
Padding with zeros is a convolution that often ends up creating a sync . Padding with zeros was needed because of the missing frequencies.
Réponses (1)
Walter Roberson
le 13 Fév 2020
You can zero-pad the 900 entries before x = 1500000000 . You can then take the complex conjugate of the augmented y, and flipud() it, append the two, and prefix with a zero.
Now you would have a two-sided complex conjugate that you can use ifft() on to get the time domain signal.
The 1666666 sampling interval affects the labeling of the the time domain signals, but not their relative value.
If your frequency bins were not all 1666666 or 1666667 apart, then you would need to use other approaches.
7 commentaires
Walter Roberson
le 13 Fév 2020
At line 602 the file suddenly shifts from 3 column to 1 column. We do not know how to deal with that?
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!