arpit01

inverse fourier Transformation

Nov 28th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. clc
  2. close all
  3. clear all
  4. w=-10:0.1:10
  5. t1=-10:0.1:10
  6. x=1./(1+w.^2)
  7. subplot(1,2,1)
  8. plot(w,x)
  9. m=1
  10. for t=-10:0.1:10
  11. i=1
  12. sum=0
  13. for w=-10:0.1:10
  14. dw=0.1
  15. sum=1/(2*pi)*(sum+((x(i).*(exp(j*w*t).*dw))))
  16. i=i+1
  17. end
  18. X(m)=sum
  19. m=m+1
  20. end
  21. y1=abs(X)
  22. t=-10:0.1:10
  23. subplot(1,2,2)
  24. plot(t1,y1)
Add Comment
Please, Sign In to add comment