summaryrefslogtreecommitdiff
path: root/3542/CH2/EX2.1/ExB_1.sce
blob: 40ca0f22773d52c166973d607a82d89bfaaa0cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Example no B.1
// To determine SNR at the detector output stage
// Page no. 613

clc;
clear all;

// Given data
SNRin=20;                                         // SNR at the receiver antenna input terminal in dB
F=6;                                              // Noise figure in dB

// SNR at the detector output stage
SNRout=SNRin-F;                                  // SNR at the detector output stage in dB

// Displaying the result in command window
printf('\n SNR at the detector output stage = %0.0f dB',SNRout);