summaryrefslogtreecommitdiff
path: root/1757/CH9/EX9.2/EX9_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1757/CH9/EX9.2/EX9_2.sce
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 '1757/CH9/EX9.2/EX9_2.sce')
-rwxr-xr-x1757/CH9/EX9.2/EX9_2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1757/CH9/EX9.2/EX9_2.sce b/1757/CH9/EX9.2/EX9_2.sce
new file mode 100755
index 000000000..dfb6d4233
--- /dev/null
+++ b/1757/CH9/EX9.2/EX9_2.sce
@@ -0,0 +1,19 @@
+//Example9.2 // to find VCO output frequency
+clc;
+clear;
+close;
+fc = 400 ; // KHz a free running frequency
+f = 10 ; // KHz low pass filter bandwidth
+fi = 500 ; // KHz input frequency
+
+// In PLL a phase detector produces the sum and difference frequencies are defined as
+
+sum = fi+fc ;
+disp('The sum frequency produce by phase detector is = '+string(sum)+' KHz ');
+
+difference = fi-fc ;
+disp('The difference frequency produce by phase detector is = '+string(difference)+' KHz ');
+
+disp('The phase detector frequencies are outside of the low pass filter');
+
+disp('The VCO will be in its free running frequency ');