diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /842/CH1/EX1.4 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '842/CH1/EX1.4')
-rwxr-xr-x | 842/CH1/EX1.4/Example1_4.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/842/CH1/EX1.4/Example1_4.sce b/842/CH1/EX1.4/Example1_4.sce new file mode 100755 index 000000000..0dcff04d1 --- /dev/null +++ b/842/CH1/EX1.4/Example1_4.sce @@ -0,0 +1,18 @@ +//clear//
+//Example 1.4:Combinationation two periodic signals
+// Aperiodic signal
+//Page 12
+clear;
+clc;
+close;
+F=1; //Frequency = 1 Hz
+t1 = 0:-1/100:-2*%pi;
+x1 = cos(F*t1);
+t2 = 0:1/100:2*%pi;
+x2 = sin(F*t2);
+a=gca();
+plot(t2,x2);
+plot(t1,x1);
+a.y_location = "middle";
+a.x_location = "middle";
+xtitle('The signal x(t) = cost for t < 0 and sint for t > 0: Aperiodic Signal')
|