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 /1895/CH6/EX6.10/EXAMPLE6_10.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 '1895/CH6/EX6.10/EXAMPLE6_10.SCE')
-rwxr-xr-x | 1895/CH6/EX6.10/EXAMPLE6_10.SCE | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/1895/CH6/EX6.10/EXAMPLE6_10.SCE b/1895/CH6/EX6.10/EXAMPLE6_10.SCE new file mode 100755 index 000000000..8b2ad835d --- /dev/null +++ b/1895/CH6/EX6.10/EXAMPLE6_10.SCE @@ -0,0 +1,25 @@ +//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.10(PAGENO 305)");
+
+//given
+F_1 = 2//noise figure of first stage in dB
+A_1 = 12//gain in first stage in dB
+F_2 = 6//noise figure of second stage in dB
+A_2 = 10//gain in first second 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
+A_1ratio = exp((A_1/10)*log(10));//gain of first stage in ratio
+A_2ratio = exp((A_2/10)*log(10));//gain of second stage in ratio
+F = F_1ratio + ((F_2ratio - 1)/(A_1ratio));//Overall noise figure
+F_dB = 10*log10(F);//Overall noise figure in dB
+
+//results
+printf("\n\nOverall noise figure = %.2f dB",F_dB );
|