blob: 3520d6b5729b61e869aa01106236c7322efd8fd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//scilab 5.4.1
//Windows 7 operating system
//chapter 12 Modulation and Demodulation
clc
clear
Vmax=8//Vmax=maximum peak to peak value of an AM voltage
Vmin=2//Vmin=minimum peak to peak value of an AM voltage
ma=(Vmax-Vmin)/(Vmax+Vmin)//ma=percentage modulation
disp("%",(ma*100),"Percentage modulation ma=")
//ma=(Vmax-Vmin)/(2*VC) where VC=amplitude of the unmodulated carrier
VC=(Vmax-Vmin)/(2*ma)
disp("V",VC,"Amplitude of the unmodulated carrier is VC=")
disp("In the textbook answer given is incorrect as they have further divided by 2 which is not the part of given formula.")
|