{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW6Problem2 - clc clear all close all num=[0 0.6042 0...

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

View Full Document Right Arrow Icon
clc; clear all ; close all ; num=[0 0.6042 0 4.1572 0 6.1591]; den=[1 3.4630 7.1704 10.2787 8.6926 6.1591]; %% Part a lambda2=roots(den) % S domain roots lam=roots(num) % S domain zeros %% Part b figure() trf=tf(num,den); bode(trf); %% part c figure() %LT=2.*(z-1).*z./(3.*z-1); for r=0.8:0.05:1 p=1; for th=0:pi/36:2*pi z=r*exp(sqrt(-1)*th); LT(p)=(2.*(z-1).*z)./(3.*z-1); p=p+1; end hold all ; plot(real(LT),imag(LT)) end for th=0:pi/36:2*pi p=1; for r=0.8:0.05:1 z=r*exp(sqrt(-1)*th); LT(p)=2.*(z-1).*z./(3.*z-1); p=p+1;
Image of page 1

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

View Full Document Right Arrow Icon
end hold all ; plot(real(LT),imag(LT)) end title( 'LambdaT plot' ) Xlabel( 'real axis' ) ylabel( 'Imaginary axis' ) %% Part d T1=0.7; % absolutely unstable T2=0.1; % relatively stable and absolutely stable T3=0.42; % relatively unstable and absolutely stable T=[T1,T2,T3] for j=1:1:3 figure() for r=0.8:0.1:1 p=1; for th=0:pi/36:2*pi z=r*exp(sqrt(-1)*th); LT(p)=2.*(z-1).*z./(3.*z-1); p=p+1; end hold all ; plot(real(LT),imag(LT)) end for th=0:pi/36:2*pi p=1; for r=0.8:0.05:1 z=r*exp(sqrt(-1)*th); LT(p)=2.*(z-1).*z./(3.*z-1); p=p+1; end hold all ;
Image of page 2
plot(real(LT),imag(LT)) end title( 'LambdaT plot and poles of the system for
Image of page 3

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

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ 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