ex12_2 - numd = K*[1 2 1] dend = dend/dend(1) w =...

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

View Full Document Right Arrow Icon
% Example 12.2 % T = .2; wc = 2; wp = 2/T*tan(wc*T/2); K = T^2/4*wp^2; dend =[(1+wp*T/sqrt(2)+T^2*wp^2/4) (T^2*wp^2/2-2) (1-wp*T/sqrt(2)+T^2*wp^2/4)]; K = K/dend(1)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: numd = K*[1 2 1] dend = dend/dend(1) w = -pi:2*pi/300:pi; H = freqz(numd,dend,w); plot(w,abs(H)) title('Example 12.2') ylabel('|H|') xlabel('\Omega')...
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