Fourier Series Animation using Harmonic Circles

Animation showing square wave synthesis using harmonics
Updated 3 Feb 2015

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

The animation is divided into two parts. In the first part, it shows first three harmonics as circles and how they are mapped to sinusoids. In the second part, it combines each harmonics and circles to obtain the synthesis of the square wave.
The whole animation can be watched at

Cite As

Mehmet E. Yavuz (2024). Fourier Series Animation using Harmonic Circles (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Waves in Help Center and MATLAB Answers

Inspired: Decomposition of a signal in time domain

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Link simplified

Link to animation added