HW6.pdf - clc clear%Problem 1:Simulate Unit Step Response...

Info icon This preview shows pages 1–6. Sign up to view the full content.

clc clear %Problem 1:Simulate Unit Step Response GpGc=tf([4.88 11.1259 6.2459],[1 -0.1 0 0]); a=feedback(GpGc,1) figure(1) step(a) stepinfo(a) grid on %Problem 2:Simulate Unit Step Response Gc1=tf([0.5924 0.5924*6],[1 8]) Gc2=tf([1 0.2],[1 0.02]) Gp1=tf([54],[1 6 0]) sys=Gc1*Gc2*Gp1 figure(2) rlocus(sys) axis([-15 15 -15 15]); b=feedback(sys,1) figure(3) step(b) stepinfo(b) %Problem 3: num=[54]; den=[1 6 0]; sys=tf(num,den); Ts=1/50; sys_d1=c2d(sys,Ts, 'zoh' ); sys_out=zpk(sys_d1) num_p=54; den_p=[1 6 0]; sys_p=tf(num_p,den_p); sys_d=c2d(sys_p,Ts, 'zoh' ); sys_out=zpk(sys_d); numd1=[1 -0.8869]; numd1=numd1*0.5888; dend1=[1 -0.84978]; numd2=[1 -0.99]; dend2=[1 -0.999]; con1=tf(numd1,dend1,Ts); con2=tf(numd2,dend2,Ts); gofz=sys_d*con1*con2; figure(4) rlocus(gofz); zgrid axis equal ; axis([-1 1 -1 1]); cl_dsys=feedback(gofz,1); 1
Image of page 1

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

[x1,t]=step(cl_dsys,2); figure(5) stairs(t,x1);hold on ; grid on a = 4.88 s^2 + 11.13 s + 6.246 -------------------------------- s^3 + 4.78 s^2 + 11.13 s + 6.246 Continuous-time transfer function. ans = struct with fields: RiseTime: 0.2417 SettlingTime: 2.8039
Image of page 2
Image of page 3

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

Image of page 4
Image of page 5

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

Image of page 6
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '09
  • Continuous-time transfer function

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern