summaryrefslogtreecommitdiff
path: root/752/CH12/EX12.4.3/12_4_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '752/CH12/EX12.4.3/12_4_3.sce')
-rwxr-xr-x752/CH12/EX12.4.3/12_4_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/752/CH12/EX12.4.3/12_4_3.sce b/752/CH12/EX12.4.3/12_4_3.sce
new file mode 100755
index 000000000..d925f0ae2
--- /dev/null
+++ b/752/CH12/EX12.4.3/12_4_3.sce
@@ -0,0 +1,12 @@
+clc;
+//page no 421
+//problem no 12.4.3
+SNR=9;//SNR in dB
+//conversion of dB to power ratio
+p=10^(9/10);
+// for Polar
+Pbe1=1/2 * erfc(sqrt(7.94/2));
+disp(Pbe1);
+// for Unipolar
+Pbe2=1/2 * erfc(sqrt(7.94)/2);
+disp(Pbe2); \ No newline at end of file