diff options
Diffstat (limited to 'Electronic_Communication_by_D_Roddy/9-SINGLE_SIDEBAND_MODULATION.ipynb')
-rw-r--r-- | Electronic_Communication_by_D_Roddy/9-SINGLE_SIDEBAND_MODULATION.ipynb | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/Electronic_Communication_by_D_Roddy/9-SINGLE_SIDEBAND_MODULATION.ipynb b/Electronic_Communication_by_D_Roddy/9-SINGLE_SIDEBAND_MODULATION.ipynb new file mode 100644 index 0000000..3bd915f --- /dev/null +++ b/Electronic_Communication_by_D_Roddy/9-SINGLE_SIDEBAND_MODULATION.ipynb @@ -0,0 +1,87 @@ +{ +"cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 9: SINGLE SIDEBAND MODULATION" + ] + }, +{ + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 9.2: example_1.sce" + ] + }, + { +"cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], +"source": [ +"clc;\n", +"// page no 349\n", +"// prob no 9.2\n", +"Nd=7; N_start=1; N_stop=1; N_parity=1;\n", +"Nt= Nd + N_start+ N_stop + N_parity;\n", +"efficiency=Nd/Nt *100;\n", +"disp('%',efficiency,'The efficiency is');" + ] + } +, +{ + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 9.6: example_2.sce" + ] + }, + { +"cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], +"source": [ +"clc;\n", +"// page no 358\n", +"// prob no 9.6\n", +"m=21;\n", +"// The correct number of check bits is the smallest number that satisfy the equation 2^n >= m+n+1;\n", +"for n=1:1:10 // we choose range of 1 to 10\n", +" a=m+n+1;\n", +" b=2^n;\n", +" if(b>=a)\n", +" disp(n,'hammming bits are required')\n", +" break;\n", +" end\n", +"end" + ] + } +], +"metadata": { + "kernelspec": { + "display_name": "Scilab", + "language": "scilab", + "name": "scilab" + }, + "language_info": { + "file_extension": ".sce", + "help_links": [ + { + "text": "MetaKernel Magics", + "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md" + } + ], + "mimetype": "text/x-octave", + "name": "scilab", + "version": "0.7.1" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} |