blob: 607e34474ded020613228fa048ee2367a1c53636 (
plain)
1
2
3
4
5
6
7
8
|
//system//
s=%s;
sys=syslin('c',1/(s^2*(s+2)))
nyquist(sys)
show_margins(sys,'nyquist')
printf("Since P=0(no of poles in RHP)=Poles of G(s)H(s) \n here the number of zeros of 1+G(s)H(s) in the RHP is not equal to zero \n hence the system is unstable")
|