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 http://youtu.be/LznjC4Lo7lE
Mehmet E. Yavuz (2021). Fourier Series Animation using Harmonic Circles (https://www.mathworks.com/matlabcentral/fileexchange/49533-fourier-series-animation-using-harmonic-circles), MATLAB Central File Exchange. Retrieved .
Inspired: Decomposition of a signal in time domain
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Amazing and very illustrative.
Excellent submission. I got it to work only when I downloaded into this mfile the ds2nfu function at the bottom of the script.
I do have the same question as Juinaid asked below, but, I guess, how would I get it to link back to the actual ds2nfu function on File Exchange rather than putting it into the actual script?
thanks in advance
I am having an error in line 65 ds2nfu undefined function???
very helpful
That is the best illustration.
Great! Thanks a lot!
Excellent! Very efficient way of simulating the underlying basics of the Fourier Theory. Thank you!