ps3_soln_08

# ps3_soln_08 - disp(roots(Q1 Q2 =[1 2-5-6 display'roots of...

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

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 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 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
EE 350 Problem Set 3 Solutions -25- Problem 18: MATLAB command line response to executing the m-file ps3_p18.m: >> ps3_p18 roots of Q1 are -1.0000 -0.5000 + 0.8660i -0.5000 - 0.8660i roots of Q2 are 2.0000 -3.0000 -1.0000 roots of Q3 are 0 -1.0000 + 1.0000i -1.0000 - 1.0000i 0 1 2 3 4 5 6 7 8 9 10 0 2 4 6 Problem 18, Part 4(c) y 1 (t) 0 1 2 3 4 5 6 7 8 9 10 -5 0 5 10 15 x 10 -3 2 time

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

View Full Document
EE 350 Problem Set 3 Solutions -26- Problem 18: The m-file is % EE 350 Fall 2008 % Problem Set 3, Problem 18, parts 1 and 4 % part 1 Q1 = [1, 2, 2, 1]; display( 'roots of Q1 are'
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ) disp(roots(Q1)) Q2 = [1, 2, -5, -6]; display( 'roots of Q2 are' ) disp(roots(Q2)) Q3 = [1, 2, 2, 0]; display( 'roots of Q3 are' ) disp(roots(Q3)) % part 4 P = 1; % P(D) for system 3 t = linspace(0,10,400); f1 = ones(size(t)); y1 = lsim(P,Q3,f1,t); f2 = cos(2*pi*t); y2 = lsim(P,Q3,f2,t); figure(1) subplot(211); plot(t,y1); title( 'Problem 18, Part 4(c)' ) ylabel( 'y_1(t)' ) subplot(212) plot(t,y2); ylabel( 'y_2(t)' ) xlabel( 'time' )...
View Full Document

{[ snackBarMessage ]}

### Page1 / 26

ps3_soln_08 - disp(roots(Q1 Q2 =[1 2-5-6 display'roots of...

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

View Full Document
Ask a homework question - tutors are online