summaryrefslogtreecommitdiff
path: root/1592/CH7/EX7.10/Example_7_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '1592/CH7/EX7.10/Example_7_10.sce')
-rwxr-xr-x1592/CH7/EX7.10/Example_7_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1592/CH7/EX7.10/Example_7_10.sce b/1592/CH7/EX7.10/Example_7_10.sce
new file mode 100755
index 000000000..cb27e58d6
--- /dev/null
+++ b/1592/CH7/EX7.10/Example_7_10.sce
@@ -0,0 +1,13 @@
+//Scilab Code for Example 7.10 of Signals and systems by
+//P.Ramakrishna Rao
+clear;
+clc;
+disp('h(t)=e^-2*t.u(t)');
+for w=1:100
+ y(1,w)=integrate('exp(-2*t)','t',0,w);
+end
+w=1:100;
+plot(w,y)
+title('Output Signal y(t)');
+xlabel('Time');
+ylabel('Amplitude');