summaryrefslogtreecommitdiff
path: root/3446/CH10/EX10.1/Ex10_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH10/EX10.1/Ex10_1.sce')
-rw-r--r--3446/CH10/EX10.1/Ex10_1.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3446/CH10/EX10.1/Ex10_1.sce b/3446/CH10/EX10.1/Ex10_1.sce
new file mode 100644
index 000000000..cbc578197
--- /dev/null
+++ b/3446/CH10/EX10.1/Ex10_1.sce
@@ -0,0 +1,28 @@
+// Exa 10.1
+// To calculate the received signal power at the receiver antenna and the SNR of the received signal.
+
+clc;
+clear all;
+
+D=10000; //in metres
+TxEIRP=30; //Effective Isotropic Radiated Power(EIRP)dBW
+lamda=0.2; //in metres
+Pt=10; //Transmitted power in dBW
+Gt=20; //transmitter gain in dBi
+Gr=3; //receiver gain in dBi
+Lo=6;//total system lossses in dB
+Nf=5; //noise figure in dB
+BW=1.25; //mHz
+k=1.38*10^-23; //Boltzmann constant
+T=290; //temperature in degree kelvin
+
+//solution
+Lp=20*log10(lamda/(4*%pi*D)); //free space loss
+Pr=Lp+Pt+Gt+Gr-Lo;// received power in dBW
+
+No=10*log10(k*T); //Noise density in dBW
+NO=No+30; //factor of '30' to convert from dBW to dBm
+Pn=Nf+10*log10(BW*10^6)+NO;// noise signal power in dBm
+SNR=(Pr+30)-Pn;
+printf('The received signal power is %d dBm\n ',round(Pr+30)); //factor of '30' to convert from dBW to dBm
+printf('SNR is %d dB\n',SNR);