To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI demonstrates Fourier Series, by graphing the Fourier Series Approximation of a Square Wave. The equations used to calculate the Fourier Series were prederived.
Description
Fourier Series is a technique for decomposing any periodic signal into an infinite sum of sinusoids and a constant. The sinusoids and constant are scaled by the Fourier Coefficients. The exact equations for Fourier Series and Fourier Coefficients can be found on Wikipedia.
Fourier Series Approximation is the reduction the infinite sum of sinusoids to a limited number, specified by the number of harmonics. By increasing the number of harmonics summed, the approximation becomes more similar to original periodic signal.
Requirements
Software:
Steps to Implement or Execute Code
Additional Information or References
NI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.