solution_hw_prj_5

# solution_hw_prj_5 - plot(t,u,'b-',t,y,'r--') grid...

This preview shows pages 1–15. 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
8 Problem 7) Matlab commands to plot the response of 1 2 1 ) ( + = s s G to ) sin( 2 ) ( t t u ω + = for 100 , 10 , 1 , 1 . 0 , 01 . 0 = clear clc t=0:.2:20; w=10; u=2+sin(w*t); y=2+(2*w/(4*w^2+1)-2)*exp(-0.5*t)-(2*w/(4*w^2+1))*cos(w*t)+(1/(4*w^2+1))*sin(w*t);

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: plot(t,u,'b-',t,y,'r--') grid legend('u(t)','y(t)',-1) xlabel('t,time') ylabel('y(t)') title(['plot for w=',num2str(w)]) 9 10...
View Full Document

## This note was uploaded on 06/15/2009 for the course MAE 4310 taught by Professor Staff during the Fall '08 term at UT Arlington.

### Page1 / 15

solution_hw_prj_5 - plot(t,u,'b-',t,y,'r--') grid...

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

View Full Document
Ask a homework question - tutors are online