summaryrefslogtreecommitdiff
path: root/Modern_Electronics_Communication/chapter10.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Modern_Electronics_Communication/chapter10.ipynb')
-rwxr-xr-xModern_Electronics_Communication/chapter10.ipynb101
1 files changed, 101 insertions, 0 deletions
diff --git a/Modern_Electronics_Communication/chapter10.ipynb b/Modern_Electronics_Communication/chapter10.ipynb
new file mode 100755
index 00000000..878fe5de
--- /dev/null
+++ b/Modern_Electronics_Communication/chapter10.ipynb
@@ -0,0 +1,101 @@
+{
+ "metadata": {
+ "name": ""
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10 Wireless digital communication"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.2 Page no 467"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "n=3 #shift registers\n",
+ "n1=7\n",
+ "\n",
+ "#calculation\n",
+ "x=(2**n)-1\n",
+ "y=(2**7)-1\n",
+ "\n",
+ "#result\n",
+ "print\"(a) n =\",n,\"PN sequence length = \",x\n",
+ "print\"(b) n =\",n1,\"PN sequence length = \",y"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) n = 3 PN sequence length = 7\n",
+ "(b) n = 7 PN sequence length = 127\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.3 Page no 477"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "x=56.0 #modulation bit rate\n",
+ "y=560 #chip rate\n",
+ "a=256.0 #modulation bit rate\n",
+ "b=1792 #chip rate\n",
+ "\n",
+ "#calculation\n",
+ "z=y/x\n",
+ "c=b/a\n",
+ "\n",
+ "#result\n",
+ "#part(a)\n",
+ "print\"Spreading of a DSSS signal = \",z\n",
+ "print\"Spreading of a DSSS signal = \",c"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Spreading of a DSSS signal = 10.0\n",
+ "Spreading of a DSSS signal = 7.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file