From 7d9639140a31ad541662f686cf8c0b339a33be49 Mon Sep 17 00:00:00 2001 From: Trupti Kini Date: Thu, 28 Apr 2016 23:30:25 +0600 Subject: Added(A)/Deleted(D) following books A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter10_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter11_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter12_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter13_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter14_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter15_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter16_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter17_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter1_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter2_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter3_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter4_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter5_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter6_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter7_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter8_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/Chapter9_1_1.ipynb A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/screenshots/chapter3_1.png A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/screenshots/chapter4_1.png A Electronic_Circuit_Analysis_And_Design_by_D._A._Neamen/screenshots/chapter5_1.png A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/Chap2.ipynb A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/Chap3.ipynb A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/Chap4.ipynb A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/Chap5.ipynb A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/Chap6.ipynb A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/Chap7.ipynb A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/Chap8.ipynb A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/Chap9.ipynb A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/screenshots/MagNPhasePlot6.png A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/screenshots/MeanPathLoss4.png A Wireless_Communications_Principles_and_Practices_by_T._S._Rappaport/screenshots/NoOfChPerCell3.png A sample_notebooks/VivekMaindola/Chap3.ipynb --- sample_notebooks/VivekMaindola/Chap3.ipynb | 618 +++++++++++++++++++++++++++++ 1 file changed, 618 insertions(+) create mode 100644 sample_notebooks/VivekMaindola/Chap3.ipynb (limited to 'sample_notebooks/VivekMaindola/Chap3.ipynb') diff --git a/sample_notebooks/VivekMaindola/Chap3.ipynb b/sample_notebooks/VivekMaindola/Chap3.ipynb new file mode 100644 index 00000000..0865879b --- /dev/null +++ b/sample_notebooks/VivekMaindola/Chap3.ipynb @@ -0,0 +1,618 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter No.3 : The cellular concept system design fundamentals" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 3.1 Page No.61" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + " The number of channels available per cell for 4-cell reuse system = 165 channels\n", + "\n", + " One control channel and 160 voice channels would be assigned to each cell.\n", + "\n", + " \n", + " The number of channels available per cell for 7-cell reuse system = 95 channels\n", + "\n", + " Each cell would have one control channel, four cells would have 90 voice channels and three cells would have 91 voice channels.\n", + "\n", + " \n", + " The number of channels available per cell for 12-cell reuse system = 55 channels\n", + "\n", + " Each cell would have one control channel, eight cells would have 53 voice channels and four cells would have 54 voice channels.\n" + ] + } + ], + "source": [ + "from math import ceil\n", + "# To compute the number of channels available per cell for a)four-cell reuse system a)seven-cell reuse system a)12-cell reuse system\n", + "\n", + "# Given data\n", + "B=33*10**6# # Total bandwidth allocated to particular FDD system in Hz\n", + "Bc=25*10**3# # Bandwidth per channel in Hz\n", + "Nc=2# # Number of simplex channels\n", + "Bc=Bc*Nc# # Channel bandwidth in Hz\n", + "\n", + "Ntotal=B/Bc# # Total number of channels\n", + "\n", + "#a) To compute the number of channels available per cell for four-cell reuse system\n", + "N=4# # frequency reuse factor\n", + "chpercell=Ntotal/N# # number of channels available per cell for four-cell reuse system\n", + "\n", + "# Displaying the result in command window\n", + "print \"\\n The number of channels available per cell for 4-cell reuse system = %0.0f channels\"%(chpercell)\n", + "print \"\\n One control channel and 160 voice channels would be assigned to each cell.\"\n", + "\n", + "# b) To compute the number of channels available per cell for seven-cell reuse system\n", + "N=7# # frequency reuse factor\n", + "chpercell=ceil(Ntotal/N)# # number of channels available per cell for seven-cell reuse system\n", + "\n", + "# Answer is varrying due to round-off error\n", + "\n", + "# Displaying the result in command window\n", + "print \"\\n \\n The number of channels available per cell for 7-cell reuse system = %0.0f channels\"%(chpercell)\n", + "print \"\\n Each cell would have one control channel, four cells would have 90 voice channels and three cells would have 91 voice channels.\"\n", + "\n", + "# c) To compute the number of channels available per cell for 12-cell reuse system\n", + "N=12# # frequency reuse factor\n", + "chpercell=Ntotal/N# # number of channels available per cell for seven-cell reuse system\n", + "\n", + "# Displaying the result in command window\n", + "print \"\\n \\n The number of channels available per cell for 12-cell reuse system = %0.0f channels\"%(chpercell)\n", + "print \"\\n Each cell would have one control channel, eight cells would have 53 voice channels and four cells would have 54 voice channels.\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 3.2 Page No.72" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + " Signal to noise ratio for n=4 with frequency reuse factor N=7 = 18.66 dB\n", + "\n", + " Signal to noise ratio for n=3 with frequency reuse factor N=7 = 12.05 dB\n", + "\n", + " Signal to noise ratio for n=3 with frequency reuse factor N=12 = 15.56 dB\n", + "\n", + " Since SIR is for n=3 with frequency reuse factor N=7 greater than the minimum required, so N=12 is used.\n" + ] + } + ], + "source": [ + "from math import sqrt, log10\n", + "from __future__ import division\n", + "# To find frequency reuse factor for path loss exponent (n) a)n=4 b)n=3\n", + "\n", + "# Given data\n", + "SIdB=15# # Signal to interference(dB)\n", + "io=6# # Number of cochannel cell\n", + "\n", + "# For n=4\n", + "n1=4# # Path loss exponent\n", + "N1=7# # First consideration: frequency reuse factor N=7\n", + "DR1=sqrt(3*N1)# # Co-channel reuse ratio\n", + "si1=(1/io)*(DR1)**n1# # Signal to interference\n", + "sidB1=10*log10(si1)# # Signal to interference(dB)\n", + "\n", + "# For n=3\n", + "n2=3# # Path loss exmponent\n", + "si=(1/io)*(DR1)**n2# # Signal to interference for first consideration: frequency reuse factor N=7\n", + "sidB=10*log10(si)# # Signal to interference(dB)\n", + "\n", + "N2=12# # second consideration : frequency reuse factor N=12 since sidB