summaryrefslogtreecommitdiff
path: root/401/CH13/EX13.2/Example13_2.sce
blob: 149ff087425d339c0932b96c44734c2e91f5e7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Example 13.2
//Program to determine the operating bandwidth of the receiver

clear;
clc ;
close ;

//Given data
SNL=-85.45;          //dBm - SHOT NOISE LIMIT
eeta=0.86;           //*100 percent - EFFICIENCY FOR IDEAL RECEIVER
Lambda=1.54*10^(-6); //metre - OPERATING WAVELENGTH
SNR=12;              //dB - SIGNAL TO NOISE RATIO
h= 6.626*10^(-34);   //J/K - PLANK's CONSTANT
c=2.998*10^8;        //m/s - VELOCITY OF LIGHT IN VACCUM

//Incoming Signal Power
Ps=10^(SNL/10);

//Operating bandwidth of the receiver
B=eeta*Ps*Lambda/(h*c*10^(SNR/10));

//Displaying the Result in Command Window
printf("\n\n\t Operating bandwidth of the receiver, B = %0.1f GHz.",B/10^9);