20115ee102_1_hw4_matlab

20115ee102_1_hw4_matlab - 1 EE102 Systems and Signals Fall...

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 EE102 Systems and Signals Fall Quarter 2011 Jin Hyung Lee Matlab Assignment 3 Due: Friday, November 4, 2011 at 5 PM. In this lab we will use matlab to compute the Fourier series for several signals, and compare the errors that results from the approximation of the signals by truncated Fourier series. The first signal will be the sawtooth waveform we discussed in class. This has has a discontinuity that causes Gibbs oscillations on either side of the discontinuity. The second is the triangle signal that you found the Fourier series for in Problem 1b. This has the same values as the sawtooth waveform for t = [0 , 1) . However, since it is continuous, it is much better behaved. Task 1: Write an m-file that evalutates a Fourier series Write an m-file that takes a set of Fourier series coefficients, a fundamental frequency, and a vector of output times, and computes the truncated Fourier series evaluated at these times. The declaration and help for the m-file might be function fn = myfs(Dn,omega0,t)...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

20115ee102_1_hw4_matlab - 1 EE102 Systems and Signals Fall...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online