From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2606/CH8/EX8.12/ex8_12.sce | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 2606/CH8/EX8.12/ex8_12.sce (limited to '2606/CH8/EX8.12/ex8_12.sce') diff --git a/2606/CH8/EX8.12/ex8_12.sce b/2606/CH8/EX8.12/ex8_12.sce new file mode 100755 index 000000000..fd482a127 --- /dev/null +++ b/2606/CH8/EX8.12/ex8_12.sce @@ -0,0 +1,45 @@ +//Page Number: 8.13 +//Example 8.12 +clc; +//Given, Noise figure +NF=2; //dB +F=(10^(NF/10)); + +AG=12; //dB +A=(10^(AG/10)); + +//(a)Total Output Noise Power + +//Also given,Input signal power +Pi=1; //W + +//Input Noise power Pni +Pni=100D-3; //W + +//Input SNR +Isnr=Pi/Pni; + +//Output SNR +Osnr=Isnr/F; + +//Total output signal power +Po=Pi*A; //W + +//Total output noise power +N=Po/Osnr; //W +disp('W',N,'Total Output Noise Power'); + +//(b)Signal to Noise and disortion ratio + +//Given. 2% is disortion +Di=2/100; + +//Total disortion +D=Di*A; //W + +//Useful Power +S=(1-Di)*A; //W + +//As given,SNAD=10*(log10(S+N+D)/(N+D)); +SNAD=10*(log10((S+N+D)/(N+D))); +disp('dB',SNAD,'SNAD:'); -- cgit