Online calculator for Fourier series expansion

Calculator for Fourier series expansion to any measured values or functions

A Fourier series, after Joseph Fourier (1768-1830), is the series expansion of a periodic, sectionally continuous function into a function series of sine and cosine functions.

The calculator can be used to perform a Fourier series expansion on any measured value or, alternatively, on a function.

↹#.000
🔍↔
🔍↕
Fourier series:
Number of Fourier components:
Modes:

Axes ranges

x-min=
x-max=
y-min=
y-max=
f(x):

Interval

min=
max=

f(x)=

cl
ok
Pos1
End
7
8
9
/
x
4
5
6
*
1
2
3
-
π
(
)
0
.
+
sin
cos
tan
ex
ln
1/x
^
asin
acos
atan
x2
√x
ceil
floor
|x|
sinh
cosh
sin(πx+π4)
cos(πx+π4)
tan(πx+π4)
sin2(πx+π4)
cos2(πx+π4)
tan2(πx+π4)
1sin(x)
1cos(x)
1tan(x)
sin(x)cos(πx)
sin(cos(x))
exsin(x)cos(x)
x+1 / x+2
x2-1/ x2+1
1 / x+1
1+√x / 1-√y
x+1
ex
x2+x+1

With the Fourier expansion of a function the integration range can be specified (interval). When points are specified, linear interpolation is performed between the points and the integration range extends from the first to the last specified point.

FunctionDescription
sin(x)Sine of x
cos(x)Cosine of x
tan(x)Tangent of x
asin(x)arcsine
acos(x)arccosine of x
atan(x)arctangent of x
atan2(y, x)Returns the arctangent of the quotient of its arguments.
cosh(x)Hyperbolic cosine of x
sinh(x)Hyperbolic sine of x
pow(a, b)Power ab
sqrt(x)Square root of x
exp(x)e-function
log(x), ln(x)Natural logarithm
log(x, b)Logarithm to base b
log2(x), lb(x)Logarithm to base 2
log10(x), ld(x)Logarithm to base 10
more ...
Points:
Polygon:
Number of points:
Load from file:

An alternative input is possible with load data from file. The values may be separated comma or space or semicolon. The values must be given pairwise x1,y1,x2,y2...

Fourier coefficients:

Fourier Series

Measured values and functions ​​can be approximated by the periodic functions. The procedure for this is the development of a Fourier series. The elements of the Fourier series are sine and cosine functions. The development takes place in ascending order of frequencies.

The Fourier series is:

sn(x)= a 0 2 + k = 1 n ( a k cos ( k ω x ) + b k sin ( k ω x ) )

with the Fourier coefficients ak und bk and ω = 2π/T. This is the period T = b - a with the initial interval a and the end of interval b.

The Fourier coefficients ak und bk satisfy the least squares condition for the associated sine or cosine function. The coefficients are calculated as follows.

ak= 2 l a b f ( x ) cos ( k ω x ) dx

bk= 2 l a b f ( x ) sin ( k ω x ) dx

Example: Sawtooth function

Sawtooth_function Sawtooth_function

Example: Triangle function

Triangle_function Triangle_function

Example: Rectangle function

Rectangle_function Rectangle_function

Screenshot of the logistc growth graph

Print or save the image via right mouse click.

Releated sites

Here is a list of of further useful sites:

Index Online Fourier Transform Calculator Curve fitting for: linear line, power function, polynomial, normal distribution Newton Interpolation Horners Method Trigonometric calculations Taylor series calculator Normal Distribution Plot NxN Gauss method Derivation rules ODE first order