summaryrefslogtreecommitdiff
path: root/1592/CH2/EX2.19/Example_2_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '1592/CH2/EX2.19/Example_2_19.sce')
-rwxr-xr-x1592/CH2/EX2.19/Example_2_19.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1592/CH2/EX2.19/Example_2_19.sce b/1592/CH2/EX2.19/Example_2_19.sce
new file mode 100755
index 000000000..9705ff2eb
--- /dev/null
+++ b/1592/CH2/EX2.19/Example_2_19.sce
@@ -0,0 +1,10 @@
+//Scilab Code for Example 2.19 of Signals and systems by
+//P.Ramakrishna Rao
+clear;
+clc;
+syms t y;
+s=%s;
+y=laplace(exp(-t)-exp(2*t),t,s);
+disp(y,"X(s)=");
+y=(1/(s+1))-(1/(s-2));
+plzr(y);