summaryrefslogtreecommitdiff
path: root/46/CH3/EX3.2/Example3_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /46/CH3/EX3.2/Example3_2.sce
downloadScilab-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-x46/CH3/EX3.2/Example3_2.sce16
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)=')