This preview shows page 1. Sign up to view the full content.
Unformatted text preview: = 30 milliseconds in increments of 0.01 ms. NOTE: The Fourier series for a squarewave 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 fiveterm 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 Mfiles that automate the process called square_fourier and triangle . See Doc Sharing.)...
View Full
Document
 Fall '11
 Unknown

Click to edit the document details