blob: 3eb81997a2c08dcc1283371c40a1afcc62af3016 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.17
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(5/(s*(1-s))))//the given transfer function assigned to variable h
scf()
nyquist(h)
show_margins(h,'nyquist')
disp('both open loop and closed loop system are unstable)
|