Unformatted text preview: = 30 milliseconds in increments of 0.01 ms. NOTE: The Fourier series for a square-wave can be found in many mathematics textbooks and engineering handbooks. The series is: [ ] sin 2 (2 1) 1 2 ( ) 2 (2 1) n f n t s t n = + = + + In this equation f is the fundamental frequency, t is time, and the summation index n determines the number of terms used. Thus a five-term Fourier series would have terms corresponding to n = 0,1,2,3,4. The formula for the triangle wave is: 2 2 cos[2 (2 1) ] 8 ( ) (2 1) n f n t s t n = + = + (Although these formulas are easily calculated in MATLAB, there are two custom M-files that automate the process called square_fourier and triangle . See Doc Sharing.)...
View Full Document
- Fall '11
- Fourier Series, fourier series approximation, five-term Fourier series