image thumbnail


version (733 Bytes) by m rohith ananth ratnam
generation the square wave using sine wave with the help of fourier series


Updated 18 Dec 2017

View License

Gibbs Phenomenon is used to convert the sine wave in to square wave by adding the number of harmonics to the sine wave using fourier series. if you give the highest number of harmonics (32 or 64) the output graphs show how gradually the sine converts in to square wave

Cite As

m rohith ananth ratnam (2021). GIBBS PHENOMENON (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: fourier transformation, Gibbs phenomenon

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!