Fri 13 Dec 2013 10:42:35 PM UTC, original submission:
Below is an example of a sensitivity function G formed using the script attached. The sigma function crashes no matter what form the function call is. Is there a workaround? Scilab/Matlab have no issue generating the plots.
clear
pkg load control
a=[-0.1164, -236.8, 153.3, 8.581, 38.94, -74.04;
13.28, 63.75, -47.21, -1.251, -9.194, 24.45;
21.19, 212.5, -146.4, -6.629,-32.04, 72.11;
1.764, -29.33, 22.07, 0.7402, 5.977,-9.715;
-20.14, 219.7, -148.9,-5.633,-47.92, 72.86;
-0.01975, 161.9, -107,-5.119, -30.03, 51.12];
b=[-0.2017 -3.976
0.4577 -3.77
-0.3924 -2.023
-0.4243 0.7527
-0.1368 -1.959
0.1489 1.218];
c=[ -0.3336 0.08691 0.004088 -0.0117 0.09318 -0.656
-1.293 0.4011 1.066 -0.2659 0.1607 -0.7863];
d=[1 0;0 1];
G=ss(a,b,c,d);
[y,w]=sigma(G)
|