summaryrefslogtreecommitdiff
path: root/2303/CH1/EX1.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2303/CH1/EX1.4
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/EX1.4')
-rwxr-xr-x2303/CH1/EX1.4/EX_1_4.pngbin0 -> 18432 bytes
-rwxr-xr-x2303/CH1/EX1.4/EX_1_4.sce12
2 files changed, 12 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' );