Comparison of GIBBS PHENOMENON based on different basis functions.ppt

VishalVerma422280 38 views 30 slides Sep 27, 2024
Slide 1
Slide 1 of 30
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30

About This Presentation

This is my presentation from signals and system course at IIT Delhi, India


Slide Content

GIBBS PHENOMENON
FOR DIFFERENT BASIS FUNCTIONS
VISHAL VERMA 2017PH10859
SURAJ PUNIA 2017PH10857

What is Gibbs Phenomenon?
In 1848, Henry Wilbraham discovered a peculiar manner in which the Fourier series of a piecewise
continuously differentiable periodic function behaves at a jump discontinuity. The nth partial sum of the
Fourier series has large oscillations near the jump. The overshoot does not die out as n increases, but
approaches a finite limit. The Gibbs phenomenon reflects the difficulty inherent in approximating a
discontinuous function by a finite series of continuous functions.
Any global or high order approximation method suffers from the Gibbs phenomenon if the approximant
has a jump discontinuity in the given domain.
In signal processing, the Gibbs phenomenon is undesirable because it causes overshoot and undershoot,
and ringing artifacts from the oscillations.

What is a Basis?
We can approximate a periodic function as a weighted summation of basis functions. A basis function is
an element of a particular basis for a function space. Every continuous function in the function space can
be represented as a linear combination of basis functions, just as every vector in a vector space can be
represented as a linear combination of basis vectors.
Any set of functions that form a complete orthogonal system have a corresponding generalized Fourier
series analogous to the Fourier series. Some of the popular bases used in series expansion are :
●Fourier Basis
●Legendre Polynomials
●Bessel functions
●Hermite Polynomials, etc.

Gibbs Phenomenon in Fourier Basis
A Fourier series is an expansion of a periodic function f(x) in terms of an infinite sum of much simpler
sine and cosine functions .

Gibbs Phenomenon in Fourier Basis
Example : Let’s approximate a Square Wave as Fourier Series
Amplitude = 1;
Period = 2;

Gibbs Phenomenon in Fourier Basis

Gibbs Phenomenon in Fourier Basis

Gibbs Phenomenon in Fourier Basis

Gibbs Phenomenon in Legendre Basis
Legendre polynomials form a complete orthogonal system over the interval [-1,1]. Any function f(x) may
be expanded in terms of them as

Gibbs Phenomenon in Legendre Basis
Legendre polynomials form a complete orthogonal system over the interval [-1,1]. Any function f(x) may
be expanded in terms of them as

Gibbs Phenomenon in Legendre Basis
Legendre polynomials form a complete orthogonal system over the interval [-1,1]. Any function f(x) may
be expanded in terms of them as

Gibbs Phenomenon in Legendre Basis
Legendre polynomials form a complete orthogonal system over the interval [-1,1]. Any function f(x) may
be expanded in terms of them as

Gibbs Phenomenon in Legendre Basis
The Legendre polynomials, are solutions to the Legendre differential equation.
The Legendre polynomials P
n(x) are illustrated below for x in [-1,1] and n=1, 2, ..., 5.

Gibbs Phenomenon in Legendre Basis
Example : Let’s approximate a Square Wave as Legendre Series Expansion
Amplitude = 1;
Period = 2;

Gibbs Phenomenon in Legendre Basis

Gibbs Phenomenon in Legendre Basis

Gibbs Phenomenon in Legendre Basis

Gibbs Phenomenon in Bessel Basis
Bessel functions form a complete orthogonal system in the interval (0,1) . Let n>=0 and alpha
1,
alpha
2, ...be the positive roots of J
n(x)=0, where J
n(z) is a Bessel function of the first kind. An expansion of
a function in the interval (0,1) in terms of Bessel functions of the first kind :

Gibbs Phenomenon in Bessel Basis
Bessel functions form a complete orthogonal system in the interval (0,1) . Let n>=0 and alpha
1,
alpha
2, ...be the positive roots of J
n(x)=0, where J
n(z) is a Bessel function of the first kind. An expansion of
a function in the interval (0,1) in terms of Bessel functions of the first kind :

Gibbs Phenomenon in Bessel Basis
Bessel functions form a complete orthogonal system in the interval (0,1) . Let n>=0 and alpha
1,
alpha
2, ...be the positive roots of J
n(x)=0, where J
n(z) is a Bessel function of the first kind. An expansion of
a function in the interval (0,1) in terms of Bessel functions of the first kind :

Gibbs Phenomenon in Bessel Basis
Bessel functions form a complete orthogonal system in the interval (0,1) . Let n>=0 and alpha
1,
alpha
2, ...be the positive roots of J
n(x)=0, where J
n(z) is a Bessel function of the first kind. An expansion of
a function in the interval (0,1) in terms of Bessel functions of the first kind :

Gibbs Phenomenon in Bessel Basis
he Bessel functions of the first kind J
n(x) are defined as the solutions to the Bessel differential equation
The Bessel polynomials J
n(x) are illustrated below for x in [0,10] and n=0,1, 2, ..., 5.

Gibbs Phenomenon in Bessel Basis
Example : Let’s approximate a Square Wave as Legendre Series Expansion
Amplitude = 1;
Period = 2;

Gibbs Phenomenon in Bessel Basis

Gibbs Phenomenon in Bessel Basis

Gibbs Phenomenon in Bessel Basis

Compare
Fourier Basis Legendre
Basis
Bessel Basis
Approximation Medium (8.949%) Best (8.730%) Worst (9.023%)
Ease Best Medium Worst
Computation Time Best Worst Medium

Conclusion
There are many way in which we can approximate a function. Some provide better
result whereas some are easy to implement. The choice of our method (basis
functions) depends upon the application as well as the resources. We observed
gibbs phenomenon in all the considered basis. On comparing the results, we can
conclude that Fourier basis is a better method for general computations whereas
legendre basis is better for high level error sensitive computations.
There are many more basis functions which are used for different purposes. Some
may even be better than Legendre Basis.

References
●https://en.wikipedia.org/wiki/Gibbs_phenomenon
●http://mathworld.wolfram.com/Fourier-BesselSeries.html
●http://mathworld.wolfram.com/BesselFunctionoftheFirstKind.html
●http://mathworld.wolfram.com/LegendrePolynomial.html
●http://mathworld.wolfram.com/LegendreDifferentialEquation.html
●http://mathworld.wolfram.com/Fourier-LegendreSeries.html
●https://in.mathworks.com/help/matlab/ref/integral.html
●https://in.mathworks.com/help/symbolic/legendrep.html
●https://in.mathworks.com/help/matlab/ref/besselj.html
●https://in.mathworks.com/matlabcentral/fileexchange/48403-bessel-zero-solver

THANK YOU