GIBBS effect at discontinuities for different functions
4 views (last 30 days)
Show older comments
The Fourier series of waveforms with discontinuties experiences an overshoot near the discontinuity known as the "Gibbs phenomenon". There is quite a bit of literature showing that the overshoot for a rectangle function is ~ 1.089. What about other functions such as (1-x) or a decaying exponential for x positive? Is there any reason to expect the overshoot ratio to be exactly identical to the rectangle function? I do know for a fact that the behavior of the overshoot is different for the triangle function (1-x) than for the rectangle function. For low harmonics there is an undershoot for the triangle function case, but this is not the case for the rectangle function. The overshoot occurs for the triangle function after a sufficient number of terms are included in the Fourier series. The same is true for the decaying exponential. This is illustrated in the plots.pdf file attached. The m-files that generated the data for the plots are also included. The actual function is represented by variable P & the Fourier series is represented by Pfit.
Does anyone know of MATLAB code that computes the theoretical overshoot if there is an infinite number of terms in the series for different waveforms or functions?
4 Comments
John D'Errico
on 28 Dec 2017
Edited: John D'Errico
on 28 Dec 2017
You have not gotten a response, because you have not asked a question about MATLAB. And you have now asked multiple questions about the same thing. Answers is about MATLAB questions. When your question is off-topic, then most of the people on this forum will have no interest in responding.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!