Monday
Dec262011
An exploration of the effect of the number of coefficients used in a trigonometric Fourier series
Following on from the earlier post allowing you to manually enter different coefficients for a trigonometric Fourier series and visualise the resulting signal, I got to wondering how much of an effect the number of coefficients used had. So, playing around with a bit more jQuery, I came up with this. Choose either a square wave or a triangle wave and vary the number of coefficients used by dragging the slider. The chart updates in realtime so that you can see how quickly the signal converges to the true desired x(t).
Darran
Reader Comments