diff options
Diffstat (limited to '761/CH2/EX2.10/2_10.sce')
-rwxr-xr-x | 761/CH2/EX2.10/2_10.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/761/CH2/EX2.10/2_10.sce b/761/CH2/EX2.10/2_10.sce new file mode 100755 index 000000000..bed94e149 --- /dev/null +++ b/761/CH2/EX2.10/2_10.sce @@ -0,0 +1,17 @@ +clc;
+//page no 89
+// prob no 2.10
+// refer fig 2.40
+P=10;f_ref=10*10^3;M=10;
+//consider
+N=1;
+// With a fixed-modulus prescalar, the min freq step is
+step_size=M*f_ref;
+// With the two-modulus system, let the main divider modulus N remain constant & increase the modulus m to (m+1) to find how much the freq changes.
+// for 1st case, o/p freq
+fo=(M+N*P)*f_ref;
+// for 2nd case where leave N alone but changes M to M+1, new o/p freq
+fo_=(M+1+N*P)*f_ref;
+// The difference is
+f= fo_-fo;
+disp('Hz',f,'The step size that would have been obtained without prescaling');
\ No newline at end of file |