File:From Continuous To Discrete Fourier Transform.gif
From_Continuous_To_Discrete_Fourier_Transform.gif (800 × 242 pixels, file size: 15 KB, MIME type: image/gif)
![]() | This is a file from the Wikimedia Commons. Information from its description page there is shown below. Commons is a freely licensed media file repository. You can help. |
Summary
DescriptionFrom Continuous To Discrete Fourier Transform.gif |
English: Relationship between the (continuous) Fourier transform and the discrete Fourier transform.
|
Date | |
Source | Own work |
Author | Sbyrnes321 |
(* Source code written in Mathematica 6.0, by Steve Byrnes, 2011. I release this code into the public domain. *) ClearAll["Global`*"] SetOptions[Plot, Frame -> True, FrameTicks -> None, Axes -> False, PlotRange -> {{-8, 8}, All}]; SetOptions[ListPlot, Frame -> True, FrameTicks -> None, Axes -> False, Filling -> Axis, PlotStyle -> None, PlotRange -> {{-8, 8}, All}]; f[x_] := Exp[-(4/3)*\[Pi] x^2]; g[x_] := Exp[-(3/4)*\[Pi] x^2]; repeatedf[x_, p_] := Sum[f[x + n*p], {n, -10, 10}]; repeatedg[x_, p_] := Sum[g[x + n*p], {n, -10, 10}]; plotf = Plot[f[x], {x, -10, 10}, PlotStyle -> Darker[Blue]]; plotg = Plot[g[x], {x, -10, 10}, PlotStyle -> Darker[Red]]; plotrepeatedf = Plot[repeatedf[x, 5], {x, -10, 10}, PlotStyle -> Darker[Blue]]; discreteg = Table[{x, g[x]}, {x, -10, 10, 1/5}]; plotdiscreteg = ListPlot[discreteg, FillingStyle -> Darker[Red]]; discretef = Table[{x, f[x]}, {x, -10, 10, 1/3}]; plotdiscretef = ListPlot[discretef, FillingStyle -> Darker[Blue]]; plotrepeatedg = Plot[repeatedg[x, 3], {x, -10, 10}, PlotStyle -> Darker[Red]]; discreterepeatedf = Table[{x, repeatedf[x, 11/4]}, {x, -12, 12, 1/4}]; plotdiscreterepeatedf = ListPlot[discreterepeatedf, FillingStyle -> Darker[Blue]]; discreterepeatedg = Table[{x, repeatedg[x, 4]}, {x, -12, 12, 4/11}]; plotdiscreterepeatedg = ListPlot[discreterepeatedg, FillingStyle -> Darker[Red]]; finalimg = Show[GraphicsGrid[{{plotf, plotrepeatedf, plotdiscretef, plotdiscreterepeatedf}, {plotg, plotdiscreteg, plotrepeatedg, plotdiscreterepeatedg}}], ImageSize -> 800] SetDirectory["C:\\Users\\Steve\\Desktop"]; Export["test.gif", finalimg]
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
![]() ![]() |
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
![]() |
This math image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with
{{vector version available|new image name}} .It is recommended to name the SVG file “From Continuous To Discrete Fourier Transform.svg”—then the template Vector version available (or Vva) does not need the new image name parameter. |
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
5 December 2011
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 19:18, 5 December 2011 | ![]() | 800 × 242 (15 KB) | wikimediacommons>Sbyrnes321 |
File usage
The following page uses this file: