summaryrefslogtreecommitdiff
path: root/3446/CH3/EX3.9/Ex3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH3/EX3.9/Ex3_9.sce')
-rw-r--r--3446/CH3/EX3.9/Ex3_9.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3446/CH3/EX3.9/Ex3_9.sce b/3446/CH3/EX3.9/Ex3_9.sce
new file mode 100644
index 000000000..b5a26f762
--- /dev/null
+++ b/3446/CH3/EX3.9/Ex3_9.sce
@@ -0,0 +1,13 @@
+//Exa 3.9
+// To calculate probability of exceeding signal beyond the receiver sensitivity.
+
+clc;
+clear all;
+
+SSmean=-100; //signal strength(dBm)
+Sr=-110; //receiver sensitivity(dBm)
+sd=10; //standard deviation(dB)
+
+//solution
+P_Smin=(0.5-0.5*erf((Sr-SSmean)/(sqrt(2)*sd)));
+printf('probability of exceeding signal beyond the receiver sensitivity is %.2f \n',P_Smin);