summaryrefslogtreecommitdiff
path: root/2303/CH1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2303/CH1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2303/CH1')
-rwxr-xr-x2303/CH1/EX1.4/EX_1_4.pngbin0 -> 18432 bytes
-rwxr-xr-x2303/CH1/EX1.4/EX_1_4.sce12
-rwxr-xr-x2303/CH1/EX1.5/EX_1_5.pngbin0 -> 11738 bytes
-rwxr-xr-x2303/CH1/EX1.5/EX_1_5.sce13
-rwxr-xr-x2303/CH1/EX1.6/EX_1_6.sce9
-rwxr-xr-x2303/CH1/EX1.7/EX_1_7.sce11
-rwxr-xr-x2303/CH1/EX1.8/EX_1_8.sce10
7 files changed, 55 insertions, 0 deletions
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
--- /dev/null
+++ b/2303/CH1/EX1.4/EX_1_4.png
Binary files 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
--- /dev/null
+++ b/2303/CH1/EX1.5/EX_1_5.png
Binary files 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");