summaryrefslogtreecommitdiff
path: root/1184/CH8/EX8.4/Ex8_4.sce
blob: 9b15781a1e4ec0883f963056629b36f2f127600f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Example 8-4, Page No - 259

clear
clc

f = 10*10^6
div_factor = 100
A =64
N = 285
M=32

ref = f/div_factor
R =M*N+A
fout= R*ref

printf('The output frequency of the synthesizer is %.1f Mhz',fout/10^6)
printf('\n The step change is %.1f Mhz ',fout/10^6-918.3)