summaryrefslogtreecommitdiff
path: root/Digital_Communications/Chapter5.ipynb
diff options
context:
space:
mode:
authorThomas Stephen Lee2015-09-04 22:04:10 +0530
committerThomas Stephen Lee2015-09-04 22:04:10 +0530
commit41f1f72e9502f5c3de6ca16b303803dfcf1df594 (patch)
treef4bf726a3e3ce5d7d9ee3781cbacfe3116115a2c /Digital_Communications/Chapter5.ipynb
parent9c9779ba21b9bedde88e1e8216f9e3b4f8650b0e (diff)
downloadPython-Textbook-Companions-41f1f72e9502f5c3de6ca16b303803dfcf1df594.tar.gz
Python-Textbook-Companions-41f1f72e9502f5c3de6ca16b303803dfcf1df594.tar.bz2
Python-Textbook-Companions-41f1f72e9502f5c3de6ca16b303803dfcf1df594.zip
add/remove/update books
Diffstat (limited to 'Digital_Communications/Chapter5.ipynb')
-rwxr-xr-xDigital_Communications/Chapter5.ipynb105
1 files changed, 0 insertions, 105 deletions
diff --git a/Digital_Communications/Chapter5.ipynb b/Digital_Communications/Chapter5.ipynb
deleted file mode 100755
index bf535beb..00000000
--- a/Digital_Communications/Chapter5.ipynb
+++ /dev/null
@@ -1,105 +0,0 @@
-{
- "metadata": {
- "name": ""
- },
- "nbformat": 3,
- "nbformat_minor": 0,
- "worksheets": [
- {
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "<h1> Chpater 5: DIGTIAL BASEBAND TRANSMISSION<h1>"
- ]
- },
- {
- "cell_type": "heading",
- "level": 2,
- "metadata": {},
- "source": [
- "Example 5.12, Page No 249 "
- ]
- },
- {
- "cell_type": "code",
- "collapsed": false,
- "input": [
- "#Find The roll of factor alpha\n",
- "\n",
- "#initialisation of variables\n",
- "datarate=0.1*10**6\n",
- "fB=75000.0 #bandwidth\n",
- "\n",
- "#CALCULATIONS\n",
- "Tb=1/datarate\n",
- "alpha=2*fB*Tb-1\n",
- "\n",
- "#RESULTS\n",
- "print('The roll out factor alpha = = %.1f ' %alpha)\n",
- "\n"
- ],
- "language": "python",
- "metadata": {},
- "outputs": [
- {
- "output_type": "stream",
- "stream": "stdout",
- "text": [
- "The roll out factor alpha = = 0.5 \n"
- ]
- }
- ],
- "prompt_number": 1
- },
- {
- "cell_type": "heading",
- "level": 2,
- "metadata": {},
- "source": [
- "Example 5.13, Page No 249"
- ]
- },
- {
- "cell_type": "code",
- "collapsed": false,
- "input": [
- "import math\n",
- "#Find The Transmission bandwidth\n",
- "\n",
- "#initialisation of variables\n",
- "q=128.0\n",
- "alpha=0.2\n",
- "n=math.log(q,2)\n",
- "fm=2000.0\n",
- "\n",
- "#CALCULATIONS\n",
- "Nq=2*fm\n",
- "fs=1.25*Nq\n",
- "N=8.0\n",
- "total=N*fs\n",
- "bitrate=7*total\n",
- "fB=((1+alpha)*bitrate)/2\n",
- "fB=fB/1000\n",
- "#RESULTS\n",
- "print('The minimum transmission Bandwidth required = %.f kHz' %fB)"
- ],
- "language": "python",
- "metadata": {},
- "outputs": [
- {
- "output_type": "stream",
- "stream": "stdout",
- "text": [
- "The minimum transmission Bandwidth required = 168 kHz\n"
- ]
- }
- ],
- "prompt_number": 2
- }
- ],
- "metadata": {}
- }
- ]
-} \ No newline at end of file