From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 842/CH1/EX1.4/Example1_4.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 842/CH1/EX1.4/Example1_4.sce (limited to '842/CH1/EX1.4/Example1_4.sce') 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') -- cgit