diff options
Diffstat (limited to '1895/CH6/EX6.18/EXAMPLE6_18.SCE')
-rwxr-xr-x | 1895/CH6/EX6.18/EXAMPLE6_18.SCE | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/1895/CH6/EX6.18/EXAMPLE6_18.SCE b/1895/CH6/EX6.18/EXAMPLE6_18.SCE new file mode 100755 index 000000000..e571888c8 --- /dev/null +++ b/1895/CH6/EX6.18/EXAMPLE6_18.SCE @@ -0,0 +1,27 @@ +//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.18(PAGENO 310)");
+
+//given
+G_1 = 4//gain in first stage in dB
+G_2 = 10//gain in second stage in dB
+F_1 = 10//noise figure for first stage in dB
+F_2 = 10//noise figure for second stage in dB
+
+//calculations
+F_1ratio = exp((F_1/10)*log(10));//noise figure of first stage in ratio
+F_2ratio = exp((F_2/10)*log(10));//noise figure of second stage in ratio
+G_1ratio = exp((G_1/10)*log(10));//gain of first stage in ratio
+G_2ratio = exp((G_2/10)*log(10));//gain of second stage in ratio
+F = F_1ratio + ((F_2ratio - 1)/(G_1ratio));//Overall noise figure
+G = log10(G_1ratio *G_2ratio );
+F_dB= 10*log10(F)////Overall noise figure in dB
+
+//results
+printf("\n\ni.Overall noise figure = %.2f dB", F_dB );
+ printf("\n\nii.Overall gain = %.2f dB",G );
+printf("\n\nNote:There is mistake in calculation of overall gain in textbook")
|