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 /62/CH1/EX1.5.b/ex_1_5b.sce | |
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 '62/CH1/EX1.5.b/ex_1_5b.sce')
-rwxr-xr-x | 62/CH1/EX1.5.b/ex_1_5b.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/62/CH1/EX1.5.b/ex_1_5b.sce b/62/CH1/EX1.5.b/ex_1_5b.sce new file mode 100755 index 000000000..d007e7d8d --- /dev/null +++ b/62/CH1/EX1.5.b/ex_1_5b.sce @@ -0,0 +1,25 @@ +//ex_5 even and odd signals of x(t)
+clear;
+clc;
+close;
+t = 0:1/100:5;
+x=4*exp(-0.5.*t)
+figure
+a=gca();
+xtitle('x(t)')
+plot2d(t,x)
+figure
+a=gca();
+xtitle('even signal')
+plot2d(t,x/2)
+t1=-5:1/100:0;
+plot2d(t1,x($:-1:1)/2)
+a.y_location='origin'
+figure
+a=gca();
+xtitle('odd signal')
+plot2d(t,x/2)
+t1=-5:1/100:0;
+plot2d(t1,-x($:-1:1)/2)
+a.y_location='origin'
+a.x_location='origin'
|