20115ee102_1_hw4_matlab_soln

20115ee102_1_hw4_mat - 1 EE102 Systems and Signals Fall Quarter 2011 Jin Hyung Lee Matlab Assignment 3 Solution In this lab we will use matlab to

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
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 Solution 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) % % fn = myfs(Dn,omega0,t)...
View Full Document

This note was uploaded on 03/30/2012 for the course ELEC ENGR 102 taught by Professor Lee during the Fall '11 term at UCLA.

Page1 / 4

20115ee102_1_hw4_mat - 1 EE102 Systems and Signals Fall Quarter 2011 Jin Hyung Lee Matlab Assignment 3 Solution In this lab we will use matlab to

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online