diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2048/CH10/EX10.8/lewin_imc1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2048/CH10/EX10.8/lewin_imc1.sce')
-rwxr-xr-x | 2048/CH10/EX10.8/lewin_imc1.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2048/CH10/EX10.8/lewin_imc1.sce b/2048/CH10/EX10.8/lewin_imc1.sce new file mode 100755 index 000000000..df0f7f97d --- /dev/null +++ b/2048/CH10/EX10.8/lewin_imc1.sce @@ -0,0 +1,24 @@ +// IMC design for Lewin's example
+// 10.8
+
+exec('tf.sci');
+exec('myc2d.sci');
+exec('imc_stable1.sci');
+exec('zpowk.sci',-1);
+exec('imcsplit.sci',-1);
+exec('flip.sci',-1);
+
+num = 1; den = [250 35 1]; Ts = 3;
+G = tf(num,den);
+
+[B,A,k] = myc2d(G,Ts);
+
+alpha = 0.9;
+[k,GiN,GiD] = imc_stable1(B,A,k,alpha);
+
+[zk,dzk] = zpowk(k);
+Bp = B; Ap = A;
+t0 = 0; tfi = 100; st = 1; Nvar = 0;
+
+
+
|