The difference between the obtained result using fftshift when employing the ifft() function
Ältere Kommentare anzeigen
Hey,
I am trying to calculate the inverse fourier transform of a function using ifft(). I have noted some differences in the result with and without using the fftshift of the ifft result. I am trying to calculate the output pulse from a system and still not sure which of the answers are acceptable. I have attached the relevant code.
Without fftshift this is the answer for the output:

where the pulses on the left and right are:

Now if I use the fftshift for the result of ifft function I see only one pulse in the middle (the small chunk on the right is gone):

and if I zoom in I see:

Now, I am wondering is there a differemce bewtween these two results? In other words does the small chunk I see on the right of the first figure matter? If I am looking for the output from my system which of these two answers are more reliable (with or without using fftshift)? Also, if I write a code for the inverse Fourier transform myself do I still see that small chunk?
I appreciate your comments.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Graphics Performance finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
