% hw 09

clear all; close all

s = tf( 's' )

sysG1 = (s+1)/((s+10));

figure(11)

rlocus( sysG1, 'r' );
axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);

figure(12)

bode( sysG1 );
%axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);

figure(13)

nyquist( sysG1 );
axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);


% axis([-15, 2, -5, 5]) 


sysG2 = -(s-1)/((s+10));

figure(21)

rlocus( sysG2, 'r' );
axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);

figure(22)

bode( sysG2 );
%axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);

figure(23)

nyquist( sysG2 );
axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);


sysG3 = (s+1)/((s-10));

figure(31)

rlocus( sysG3, 'r' );
axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);

figure(32)

bode( sysG3 );
%axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);

figure(33)

nyquist( sysG3 );
axis('equal')
set(findall(gcf,'type','line'),'linewidth',3);
