blob: cb9c0603adf86b52cec64135edf84601d45bdb28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Example 3-1, Page No - 99
clear
clc
Vmax = 5.9
Vmin = 1.2
m = (Vmax-Vmin)/(Vmax+Vmin)
Vc = (Vmax+Vmin)/2
Vm = (Vmax-Vmin)/2
m = Vm/Vc
printf('The modulation index is %.3f',m)
printf('\n Vc=%.1f\tVm=%.1f (for 2 volt/div on verticle scale) ',Vc,Vm)
|