Fourier Series Example MATLAB Evaluation Square Wave Example

1 , 0 .5 1 1 , 0 .5 ( ) x x f x This function is shown below. We will assume it has an odd periodic extension and thus is representable by a Fourier Sine series ¦ f 1 ( ) sin n n L n x f x b S, ( ) sin 1 2 3, 1 ³ dx n L n x b L f x n L S where L = 1/2. Evaluating the Fourier coefficients gives > n @ n n b f nx dx( 1) 2 1 / 2sin2 0 0 1 / 2 1 ... ................
................