ex11_25 - title('Figure 11.9') ylabel('|H|')...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% Example 11.25 % num = [0 1]; den = [1 -.5]; OMEGA = -pi:pi/150:pi; H = freqz(num,den,OMEGA); clf % clears current figure subplot(211),plot(OMEGA,abs(H)); % The figure in the text was generated using % subplot(211),plot(OMEGA/pi,abs(H)); % and the pi's were added by hand.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: title('Figure 11.9') ylabel('|H|') xlabel('\Omega') axis([-pi pi .5 2]) subplot(212),plot(OMEGA,180/pi*unwrap(angle(H))); ylabel('Angle(H), degrees') xlabel('\Omega') axis([-pi pi -600 0]) subplot(111)...
View Full Document

This note was uploaded on 03/24/2010 for the course CENG 4331 taught by Professor Maryrandolph-gips during the Fall '09 term at UH Clear Lake.

Ask a homework question - tutors are online