summaryrefslogtreecommitdiff
path: root/67/CH1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /67/CH1
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '67/CH1')
-rwxr-xr-x67/CH1/EX1.39.a/example139a.sce12
-rwxr-xr-x67/CH1/EX1.5/example15.sce18
2 files changed, 15 insertions, 15 deletions
diff --git a/67/CH1/EX1.39.a/example139a.sce b/67/CH1/EX1.39.a/example139a.sce
index f561a72bf..4f0b30c55 100755
--- a/67/CH1/EX1.39.a/example139a.sce
+++ b/67/CH1/EX1.39.a/example139a.sce
@@ -1,6 +1,6 @@
-//Example 1.39a
-//Sketch the signal x(t)=u(t)
-clc;
-t=0:1/100:10
-x=1;
-plot(t,x); \ No newline at end of file
+//Example 1.39a
+//Sketch the signal x(t)=u(t)
+clc;
+t=0:1/100:10
+x=ones(length(t),1);
+plot(t,x);plot(t,x); \ No newline at end of file
diff --git a/67/CH1/EX1.5/example15.sce b/67/CH1/EX1.5/example15.sce
index 1385a0e37..e76680fc4 100755
--- a/67/CH1/EX1.5/example15.sce
+++ b/67/CH1/EX1.5/example15.sce
@@ -1,10 +1,10 @@
-//Example 1.5
-//Sketch the signal x(t)=A[u(t+a)-u(t-a)]
-clc;
-A=1;
-a=2;
-t=-a:a
-x=1;
-plot(t,x)
-//this signal is a finite duration signal so it is energy signal
+//Example 1.5
+//Sketch the signal x(t)=A[u(t+a)-u(t-a)]
+clc;
+A=1;
+a=2;
+t=-a:a
+x=ones(length(t),1);
+plot(t,x)
+//this signal is a finite duration signal so it is energy signal
E=integrate('1','t',-a,a); \ No newline at end of file