summaryrefslogtreecommitdiff
path: root/3446/CH9/EX9.6
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH9/EX9.6')
-rw-r--r--3446/CH9/EX9.6/Ex9_6.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3446/CH9/EX9.6/Ex9_6.sce b/3446/CH9/EX9.6/Ex9_6.sce
new file mode 100644
index 000000000..273626ee2
--- /dev/null
+++ b/3446/CH9/EX9.6/Ex9_6.sce
@@ -0,0 +1,13 @@
+// Exa 9.6
+// To calculate bit rate.
+
+clc;
+clear all;
+
+Rs=19200; //symbols per second
+states=64;
+
+//solution
+Bits_symbol=log2(states);
+BitRate=Bits_symbol*Rs;
+printf('Bit Rate of the modulator is %.1f kbps',BitRate/1000 );