Assignment 2 Soln

Assignment 2 Soln - Assignment 2 - Solutions ECSE304...

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

View Full Document Right Arrow Icon
1 Assignment 2 - Solutions ECSE304 Signals and Systems II, Winter, 2011 ECSE 304 Signals and Systems II Fall Semester 2011 Assignment 2: Solutions Richard Rose McGill University Dept. of Electrical and Computer Engineering
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Assignment 2 - Solutions ECSE304 Signals and Systems II, WInter, 2011
Background image of page 2
3 Assignment 2 - Solutions ECSE304 Signals and Systems II, Winter, 2011
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 Assignment 2 - Solutions ECSE304 Signals and Systems II, Winter, 2011
Background image of page 4
ECSE304 – 20 11 Assignment 2 – Matlab Solutions
Background image of page 5

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

View Full DocumentRight Arrow Icon
Problem M-1: 2 1 1 2 8 ) ( = z z z z H Code: % % M-1 a) % num = [0 -1 0]; den = [-8 2 1]; omega = -pi:pi/150:pi; H = freqz(num,den,omega); Mag = abs(H); Phase = 180/pi*unwrap(angle(H)); subplot( 2, 1, 1 ); plot( omega, Mag ); ylabel( 'Magnitude' ); xlabel( 'Omega' ); subplot( 2, 1, 2 ); plot( omega, Phase ); xlabel( 'Omega' ); ylabel( 'Phase (degrees)' ); % % M-1 b) % z = exp( j .* omega ); newH = z ./ ( 8*z.^2 - 2*z - 1 ); Mag = abs(newH); Phase = 180/pi*unwrap(angle(newH)); figure;
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/17/2011 for the course ECSE 304 taught by Professor Chenandbacsy during the Spring '11 term at McGill.

Page1 / 9

Assignment 2 Soln - Assignment 2 - Solutions ECSE304...

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

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