I have a problem when I using MATLAB to get the fourier transform of dirac delta function. below is my code.
The Attempt at a Solution
I have a doubt that why when I change the end of time to 4, the absolute value of U(f) would be the half when I set the time as 2?
Thank you very much.