diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /67/CH1 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-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-x | 67/CH1/EX1.39.a/example139a.sce | 12 | ||||
-rwxr-xr-x | 67/CH1/EX1.5/example15.sce | 18 |
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 |