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 /28/CH12/EX12.6 | |
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 '28/CH12/EX12.6')
-rwxr-xr-x | 28/CH12/EX12.6/ex12_6.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/28/CH12/EX12.6/ex12_6.sce b/28/CH12/EX12.6/ex12_6.sce new file mode 100755 index 000000000..fca4f854b --- /dev/null +++ b/28/CH12/EX12.6/ex12_6.sce @@ -0,0 +1,14 @@ +syms t
+s=%s;
+A=[1 0;1 1];
+[r c]=size(A)
+p=s*eye(r,c)-A
+// resolvent matrix
+q=inv(p)
+disp(q,"phi(s)=")
+for i=1:r
+for j=1:c
+q(i,j)=ilaplace(q(i,j),s,t)
+end
+end
+disp(q,"phi(t)=") // state transition matrix
\ No newline at end of file |