{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Fall 2009 Exam 3 Solutions

# Fall 2009 Exam 3 Solutions - H=freqz(n,d,w figure(3...

This preview shows pages 1–12. Sign up to view the full content.

n=0.025*[1 1];d=[1 -0.95]; w=-pi:pi/100:pi; H=freqz(n,d,w); figure(1); subplot(3,1,1);plot(w,abs(H),w,angle(H),':'); t=0:0.02:10; x=2*sin(t)+cos(100*t); x1=2*sin(t); y=filter(n,d,x); subplot(3,1,2);plot(t,x); subplot(3,1,3);plot(t,y,t,x1,'--');

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

View Full Document
n=0.8*[1 -1];d=[1 -0.6]; w=-pi:pi/100:pi; H=freqz(n,d,w); figure(2); subplot(3,1,1);plot(w,abs(H),w,angle(H),':'); t=0:0.02:10; x=2*sin(t)+cos(100*t); x1=cos(100*t); y=filter(n,d,x); subplot(3,1,2);plot(t,x); subplot(3,1,3);plot(t,y,t,x1,'--');

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

View Full Document
n=0.025*[1 0 -1];d=[1 -0.975*2*cos(2) 0.975^2]; w=-pi:pi/100:pi;

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

View Full Document

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

View Full Document

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

View Full Document

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: H=freqz(n,d,w); figure(3); subplot(3,1,1);plot(w,abs(H),w,angle(H),':'); t=0:0.02:10; x=2*sin(t)+cos(100*t); x1=cos(100*t); y=filter(n,d,x); subplot(3,1,2);plot(t,x); subplot(3,1,3);plot(t,y,t,x1,'--'); n=[1 -2*cos(0.02) 1]; d=[1 -0.975*2*cos(0.02) 0.975^2]; w=-pi:pi/100:pi; H=freqz(n,d,w); figure(4); subplot(3,1,1);plot(w,abs(H),w,angle(H),':'); t=0:0.02:10; x=2*sin(t)+cos(100*t); x1=cos(100*t); y=filter(n,d,x); subplot(3,1,2);plot(t,x); subplot(3,1,3);plot(t,y,t,x1,'--');...
View Full Document

{[ snackBarMessage ]}

### Page1 / 12

Fall 2009 Exam 3 Solutions - H=freqz(n,d,w figure(3...

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

View Full Document
Ask a homework question - tutors are online