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 --- 2303/CH1/EX1.4/EX_1_4.png | Bin 0 -> 18432 bytes 2303/CH1/EX1.4/EX_1_4.sce | 12 ++++++++++++ 2303/CH1/EX1.5/EX_1_5.png | Bin 0 -> 11738 bytes 2303/CH1/EX1.5/EX_1_5.sce | 13 +++++++++++++ 2303/CH1/EX1.6/EX_1_6.sce | 9 +++++++++ 2303/CH1/EX1.7/EX_1_7.sce | 11 +++++++++++ 2303/CH1/EX1.8/EX_1_8.sce | 10 ++++++++++ 7 files changed, 55 insertions(+) create mode 100755 2303/CH1/EX1.4/EX_1_4.png create mode 100755 2303/CH1/EX1.4/EX_1_4.sce create mode 100755 2303/CH1/EX1.5/EX_1_5.png create mode 100755 2303/CH1/EX1.5/EX_1_5.sce create mode 100755 2303/CH1/EX1.6/EX_1_6.sce create mode 100755 2303/CH1/EX1.7/EX_1_7.sce create mode 100755 2303/CH1/EX1.8/EX_1_8.sce (limited to '2303/CH1') diff --git a/2303/CH1/EX1.4/EX_1_4.png b/2303/CH1/EX1.4/EX_1_4.png new file mode 100755 index 000000000..31eaee0c1 Binary files /dev/null and b/2303/CH1/EX1.4/EX_1_4.png differ diff --git a/2303/CH1/EX1.4/EX_1_4.sce b/2303/CH1/EX1.4/EX_1_4.sce new file mode 100755 index 000000000..359deb746 --- /dev/null +++ b/2303/CH1/EX1.4/EX_1_4.sce @@ -0,0 +1,12 @@ +//Example 1 4 +clc ; +clear; +close; +f=9; //assuming frequency to be a constant 9Hz. +t =0:.01:10; +x= cos (2* %pi *f*t); +plot (t,x); +xlabel('Time'); +ylabel('Amplitude'); +title('Plot of given sequence to test periodicity'); +disp ( 'Plotting the signal and showing that it is periodic with period=1/f' ); diff --git a/2303/CH1/EX1.5/EX_1_5.png b/2303/CH1/EX1.5/EX_1_5.png new file mode 100755 index 000000000..5bdb86562 Binary files /dev/null and b/2303/CH1/EX1.5/EX_1_5.png differ diff --git a/2303/CH1/EX1.5/EX_1_5.sce b/2303/CH1/EX1.5/EX_1_5.sce new file mode 100755 index 000000000..0c6025d63 --- /dev/null +++ b/2303/CH1/EX1.5/EX_1_5.sce @@ -0,0 +1,13 @@ +//Example 1 5 +clc ; +clear; +close; +f=9; //assuming frequency to be a constant 9Hz. +t =0:.1:10; +x1= cos (2* %pi *f*t); +x2=t+x1; +plot (t,x2); +xlabel('Time'); +ylabel('Amplitude'); +title('Plot of given sequence to test periodicity'); +disp ( 'Plotting the signal and showing that it is APERIODIC' ); diff --git a/2303/CH1/EX1.6/EX_1_6.sce b/2303/CH1/EX1.6/EX_1_6.sce new file mode 100755 index 000000000..2b34bd895 --- /dev/null +++ b/2303/CH1/EX1.6/EX_1_6.sce @@ -0,0 +1,9 @@ +//Example 1 6 +clc ; +clear; +close; +f=9; //assuming frequency to be a constant 9Hz. +t =0:.1:10; +x= t+sin(4*180*f*t)+cos(2*180*f*t); +disp(x); +disp('Since value of the signal at any time t is known, it is a DETERMINISTIC signal'); diff --git a/2303/CH1/EX1.7/EX_1_7.sce b/2303/CH1/EX1.7/EX_1_7.sce new file mode 100755 index 000000000..3b3e2ea59 --- /dev/null +++ b/2303/CH1/EX1.7/EX_1_7.sce @@ -0,0 +1,11 @@ +//Example 1.7 +clc; +clear; +close; +t =0:0.01:10 +F=1000; +x=sin(2*%pi*F*t); + +P={integrate('(sin(2*180*F*t)^2)','t',-0.001,+0.001)}/(2*1/F); +disp(P,"Power of signal= "); +disp("Since the given signal has a finite power, it is a POWER signal"); diff --git a/2303/CH1/EX1.8/EX_1_8.sce b/2303/CH1/EX1.8/EX_1_8.sce new file mode 100755 index 000000000..12c8b9010 --- /dev/null +++ b/2303/CH1/EX1.8/EX_1_8.sce @@ -0,0 +1,10 @@ +//Example 1.8 +clc; +clear; +close; +t =0:0.001:0.5 +x=sin(2*%pi*100*t); + +E=integrate('(sin(2*%pi*100*t)^2)','t',-0.01,+0.01); +disp(E,"Energy of signal= "); +disp("Since the given signal has a finite energy, it is a ENERGY signal"); -- cgit