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 /46/CH3/EX3.2/Example3_2.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 '46/CH3/EX3.2/Example3_2.sce')
-rwxr-xr-x | 46/CH3/EX3.2/Example3_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/46/CH3/EX3.2/Example3_2.sce b/46/CH3/EX3.2/Example3_2.sce new file mode 100755 index 000000000..acda68807 --- /dev/null +++ b/46/CH3/EX3.2/Example3_2.sce @@ -0,0 +1,16 @@ +//Example 3.2
+clc
+s=%s;
+syms t;
+num=poly([-8 9 -6 0 1],'s','coeff');
+den=s*(s-2)*poly([-2 -1 2 1],'s','coeff');
+xs=syslin('c',num/den);
+disp(xs,'x(s)=')
+A=pfss(xs)
+F1=ilaplace(A(1),s,t);
+F2=ilaplace(A(2),s,t);
+F3=ilaplace(A(3),s,t);
+F4=ilaplace(A(4),s,t);
+F5=ilaplace(A(5),s,t);
+xt=F1+F2+F3+F4+F5;
+disp(xt,'x(t)=')
|