Ian's Javascript Square/Rectangular Pulse Fourier Approximation
Waveform Coefficient Calculator Program
Version 2.7 28/4/18
Supports arbitrary position pulse - with both cos and sin terms.
Also now generates fourier series of the integral of the square pulse fourier series.
(There is an easy mathematical formula to calculate the coefficients of
the fourier series for the integral of a fourier series from the
coefficients of the first (non integrated) series.)
(Bug that meant that pulse is positioned in right half of -π to π in display page has been sorted.
Now displays correctly; display range is now set by web address query and is set to be 0 to 2π by the web query generated by this page.)
(Previous Version 1.5 13/1/18 (cos terms only - centered pulse only didn't have this bug.)
View Program Source
(For the Fourier Series Plotting Demo Page, click this link:
Goto Fourier Series Graph Program Demo Page )
How To Use the Program:
Type the values you want into the form below and click the Calculate Coefficients button.
It will calculate the coefficient values, and display them lower down the page.
It will also create a link to click on to display the Fourier approximation graph in the Fourier Series Plotting Demo Page.
It will also create the webaddress and query in the text box below should you wish to cut or paste it.
Pulse Parameters Form
(For Table of Calculated Coefficients (program output) see bottom of page.)
err ID text
Click Link text (Not set yet.)
Integral Click Link text (Not set yet.)
Webaddress and Query text (You can cut and paste it from here.)