diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2882/CH12/EX12.4/Ex12_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2882/CH12/EX12.4/Ex12_4.sce')
-rwxr-xr-x | 2882/CH12/EX12.4/Ex12_4.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2882/CH12/EX12.4/Ex12_4.sce b/2882/CH12/EX12.4/Ex12_4.sce new file mode 100755 index 000000000..fb1cca204 --- /dev/null +++ b/2882/CH12/EX12.4/Ex12_4.sce @@ -0,0 +1,18 @@ +//Tested on Windows 7 Ultimate 32-bit
+//Chapter 12 Modulation and Demodulation Pg no. 379
+clear;
+clc;
+
+//Given
+
+Vm=12;//modulating signal peak to peak voltage in volts
+Vc=9;//carrier wave peak amplitude in volts
+
+//Solution
+
+Emax=Vc+Vm/2;//maximum amplitude of AM signal in volts
+Emin=Vc-Vm/2;//minimum amplitude of AM signal in volts
+m=(Emax-Emin)/(Emax+Emin);//depth of modulation
+L1_to_L2=Emin/Emax;//ratio of side lengths
+printf("Depth of modulation = %.2f %%\n ",m*100);
+printf("Ratio of side-lengths L1/L2 = %.1f",L1_to_L2);
|