diff options
Diffstat (limited to '2414/CH1/EX1.11/Ex1_11.sce')
-rwxr-xr-x | 2414/CH1/EX1.11/Ex1_11.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2414/CH1/EX1.11/Ex1_11.sce b/2414/CH1/EX1.11/Ex1_11.sce new file mode 100755 index 000000000..1b84bcb36 --- /dev/null +++ b/2414/CH1/EX1.11/Ex1_11.sce @@ -0,0 +1,16 @@ +clc;
+//page 17
+//ex-1.11
+
+P=5; //In mW
+N=100*10^-6; //in mW
+S2N=P/N;
+disp(S2N,'(a) Absolute signal to noise ratio :');
+S2NdB=10*log10(S2N);
+disp('dB',S2NdB,'(b) dB signal to noise ratio is:')
+PdBm=10*log10(P/1);
+disp('dBm',PdBm,'(c) Signal Power is');
+NdBm=10*log10(N/1);
+disp('dBm',NdBm,'Noise power is');
+S2NdB=PdBm-NdBm;
+disp('dB',S2NdB,'Decinel S/N ratio is');
|