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 /22/CH10/EX10.12 | |
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 '22/CH10/EX10.12')
-rwxr-xr-x | 22/CH10/EX10.12/ch10ex12.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/22/CH10/EX10.12/ch10ex12.sce b/22/CH10/EX10.12/ch10ex12.sce new file mode 100755 index 000000000..90ae0bd8f --- /dev/null +++ b/22/CH10/EX10.12/ch10ex12.sce @@ -0,0 +1,11 @@ +A=[0 1;-1/6 5/6];
+B=[0;1];
+C=[-1 5];
+D=0;
+sys=syslin('d',A,B,C,D);
+N=25;
+x=ones(1,N+1);n=(0:N);
+q0=[2;3];
+[ y q]=csim('step',n,sys);
+y=dsimul(sys,x);
+plot2d3(y)
\ No newline at end of file |