This preview shows page 1. Sign up to view the full content.
Unformatted text preview: (Note that a negative real number has angle = pi = -pi. Phase spectrum is circularly antisymmetric.) (iv) s[n] = 1 - (7/6)*(-1).^n . .. + (2*5.8310/6)*cos(pi*n/3 - 2.6012) . .. + (2*3.6056/6)*cos(2*pi*n/3 + 0.5880) (v) s is generated by setting n = (0:5).' and using the equation above (with s replacing s[n]). fft(s) returns the given S (with some roundoff errors in the fifth significant digit): fft(s) ans = 6-5.0001 - 2.9999i 3.0000 + 2.0000i-7 3.0000 - 2.0000i-5.0001 + 2.9999i...
View Full Document
- Spring '08