File:Fourier synthesis.svg
Summary
Description |
English: Fourier analysis of a square wave.
Deutsch: Fourieranalyse eines Rechtecksignals. |
Date | |
Source | Own work, SVG Version of File:Fouriersynthese.png |
Author | René Schwarz |
Created with Gnuplot 4.4.0 -- and modified after export.
<source enclose="div" line lang="gnuplot"> reset set terminal svg size 1000,618 set output "Fouriersynthese.svg" set multiplot layout 4,4 unset key set border 3 set size ratio 0.6180339887 set zeroaxis lt -1 set lmargin 10 set rmargin 2 set tmargin 1 set bmargin 3 set yr [-1.5:1.5] set xr [0:7] set samples 10000 set xtics out 5 set mxtics 5 set ytics out 1 set mytics 4
- row 1
- set xlabel "t"
- set ylabel "U"
plot 4/pi*sin(x) plot 4/pi*sin(x) plot 4/pi*sin(x) set yr [0:1.5] set xr [0:8]
- set xlabel "f"
plot '-' with impulses lw 2 1 1.273239545 e set yr [-1.5:1.5] set xr [0:7]
- row 2
- set xlabel "t"
plot 4/(3*pi)*sin(3*x) plot 4/pi*sin(x), 4/(3*pi)*sin(3*x) plot 4/pi*sin(x) + 4/(3*pi)*sin(3*x) set yr [0:1.5] set xr [0:8]
- set xlabel "f"
plot '-' with impulses lw 2 1 1.273239545 3 0.424413182 e set yr [-1.5:1.5] set xr [0:7]
- row 3
- set xlabel "t"
plot 4/(5*pi)*sin(5*x) plot 4/pi*sin(x), 4/(3*pi)*sin(3*x), 4/(5*pi)*sin(5*x) plot 4/pi*sin(x)+ 4/(3*pi)*sin(3*x) + 4/(5*pi)*sin(5*x) set yr [0:1.5] set xr [0:8]
- set xlabel "f"
plot '-' with impulses lw 2 1 1.273239545 3 0.424413182 5 0.254647909 e set yr [-1.5:1.5] set xr [0:7]
- row 4
- set xlabel "t"
plot 4/(7*pi)*sin(7*x) plot 4/pi*sin(x), 4/(3*pi)*sin(3*x), 4/(5*pi)*sin(5*x), 4/(7*pi)*sin(7*x) plot 4/pi*sin(x)+ 4/(3*pi)*sin(3*x) + 4/(5*pi)*sin(5*x) + 4/(7*pi)*sin(7*x) set yr [0:1.5] set xr [0:8]
- set xlabel "f"
plot '-' with impulses lw 2 1 1.273239545 3 0.424413182 5 0.254647909 7 0.181891364 e
unset multiplot set terminal windows reset clear </syntaxhighlight>
Licensing
![]() |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. |
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.