Line 7: | Line 7: | ||
== Problem 4 == | == Problem 4 == | ||
− | Hint: You may run into troubles when computing <math>a_0</math> using the general formula <math>a_k = \frac1T\int_{T}x(t)e^{-jk\omega_0t}dt</math>. Instead compute <math>a_0 = \frac1T\int_{T}x(t)dt</math> | + | Hint: You may run into troubles when computing <math>a_0</math> using the general formula <math>a_k = \frac1T\int_{T}x(t)e^{-jk\omega_0t}dt</math>. Instead compute <math>a_0 = \frac1T\int_{T}x(t)dt</math>, then make sure that your Matlab code is not computing <math>a_0</math> as something infinite or nonexistent (NaN)- Landis |
Back to [[Homework]] | Back to [[Homework]] |
Revision as of 10:58, 8 July 2009
Contents
Problem 1
Problem 2
Problem 3
Add your contributions to the Course-Related Material page.
Problem 4
Hint: You may run into troubles when computing $ a_0 $ using the general formula $ a_k = \frac1T\int_{T}x(t)e^{-jk\omega_0t}dt $. Instead compute $ a_0 = \frac1T\int_{T}x(t)dt $, then make sure that your Matlab code is not computing $ a_0 $ as something infinite or nonexistent (NaN)- Landis
Back to Homework