SlideShare a Scribd company logo
1 of 9
LAB No: 01
Introduction to Simulink and communication Blockset
Introduction to Simulink:
Simulink is an environment for simulation and model-based design for dynamic and embedded
systems. It provides an interactive graphical environment and a customizable set of block libraries
that let you design, simulate, implement, and test a variety of time-varying systems, including
communications, controls, signal processing, video processing, and image processing. Simulink
offers:
• A quick way of develop your model in contrast to text based-programming language such as e.g.,
C.
• Simulink has integrated solvers. In text based-programming language such as e.g., C you need
to write your own solver.
Start using Simulink
You start Simulink from the MATLAB IDE: Open MATLAB and select the Simulink icon in the
Toolbar:
Or type “Simulink” in the Command window, like this: 
Then the following window appears (Simulink Library Browser):
The Simulink Library Browser is the library where you find all the blocks you may use in Simulink.
Simulink software includes an extensive library of functions commonly used in modeling a system.
These include:
• Continuous and discrete dynamics blocks, such as Integration, transfer functions, Transport
Delay, etc.
• Math blocks, such as Sum, Product, Add, etc.
• Sources, such as Ramp, Random Generator, Step, etc.
Block Libraries
Here are some common used Continuous Blocks:
Here are some common used Math Operations Blocks:
Here are some common used signal Routing Blocks:
Here are some common used Sinks Blocks:
Here are some common used Sources Blocks:
In addition, there are lots of block in different Toolboxes:
Introduction to Communications Blockset:
• The Communications Blockset is a collection of Simulink blocks designed for research,
development, system design, analysis, and simulation in the communications area.
• You can use the blockset’s ready-to-use blocks directly, or you can easily modify them to
implement your own methods and algorithms.
Communications Blockset
Blocks in this product can model various processes within communication systems, including:
• Signal generation
• Source coding
• Error-control coding
• Interleaving
• Modulation/demodulation
• Transmission along a channel
• Synchronization
The Example Model:
• The figure below shows the example model:
Overview of the Simulation
• This example simulation starts by creating a random binary message signal.
• The simulation encodes the message into a convolution code, modulates the code using the
binary phase shift keying (BPSK) technique, and adds white Gaussian noise to the modulated
data in order to simulate a noisy channel.
• Then, the simulation decodes the convolution code while trying to correct as many noise-
induced errors as possible.
• The decoding also involves some intermediate steps to prepare the received data for the
decoding block.
• Finally, the simulation compares the decoded information to the original message signal in
order to compute and display an error rate.
• The table below indicates which blocks from the Communications Blockset appear in the
model, the order they appear in the model, and the purpose each one serves.
The model also uses some blocks from Simulink and the DSP Blockset:
• Unbuffer (DSP Blockset)
• Complex to Real-Image (Simulink)
• Terminator (Simulink)
• Buffer (DSP Blockset)
• Display (Simulink)
Building the Model
Part 1: Placing the First Block
• To start building the model, follow these steps:
• Type commlib at the MATLAB prompt. This opens the Communications Blockset main
library.
• From the library's File menu, select New and then select Model. This opens a new model
window called untitled. You will build the example model in this window.
• From the model window's File menu, select Save. Choose an appropriate location and filename
for the model you are about to build. You should save the model frequently while you are
editing it, to avoid losing any work.
• In the Communications Blockset main library, double-click on the Comm Sources icon. This
opens the Comm Sources library.
• In the Comm Sources library, find the icon for the Bernoulli Random Binary Generator block.
Drag it into the model window. 12 Building the Model
• In the model window (not the Comm Sources library window), double-click on the Bernoulli
Random Binary Generator icon. This opens the block's parameter dialog box, also called its
mask.
Part 2: Placing Other Blocks
• This section tells how to find and configure the other blocks required for the example model.
First open the main libraries of the products that contain those blocks:
• To open the main DSP Blockset library, type dsplib at the MATLAB prompt.
• To open the main Simulink library, type simulink3 at the MATLAB prompt.
From the Communications Blockset Library:
• Convolutional Encoder < Use default parameter values >
• BPSK Modulator Baseband < Use default parameter values >

More Related Content

Similar to LAB 1.docx

Lab jam websphere message broker labs
Lab jam   websphere message broker labsLab jam   websphere message broker labs
Lab jam websphere message broker labsEng Binary
 
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...Embarcados
 
Introduction to Bitreactive
Introduction to BitreactiveIntroduction to Bitreactive
Introduction to BitreactiveGhassen Chaieb
 
Working with Simulink
Working with SimulinkWorking with Simulink
Working with Simulinkthesisncode
 
Automation in Hypermesh
Automation in HypermeshAutomation in Hypermesh
Automation in HypermeshAkshay Mistri
 
.net Based Component Technologies
.net Based Component Technologies.net Based Component Technologies
.net Based Component Technologiesprakashk453625
 
Simulink based software
Simulink based software Simulink based software
Simulink based software DorleControls
 
Plugin-based IVI Architectures with Qt
Plugin-based IVI Architectures with Qt Plugin-based IVI Architectures with Qt
Plugin-based IVI Architectures with Qt ICS
 
outgoing again
outgoing againoutgoing again
outgoing againspredslide
 
Cadence design environment
Cadence design environmentCadence design environment
Cadence design environmentHoopeer Hoopeer
 
CI/CD Templates: Continuous Delivery of ML-Enabled Data Pipelines on Databricks
CI/CD Templates: Continuous Delivery of ML-Enabled Data Pipelines on DatabricksCI/CD Templates: Continuous Delivery of ML-Enabled Data Pipelines on Databricks
CI/CD Templates: Continuous Delivery of ML-Enabled Data Pipelines on DatabricksDatabricks
 
Bluemix and DevOps workshop lab
Bluemix and DevOps workshop labBluemix and DevOps workshop lab
Bluemix and DevOps workshop labbenm4nn
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesAngelos Kapsimanis
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5Amba Research
 
3- Siemens Open Library - Example Object Configuration.pdf
3- Siemens Open Library - Example Object Configuration.pdf3- Siemens Open Library - Example Object Configuration.pdf
3- Siemens Open Library - Example Object Configuration.pdfEMERSON EDUARDO RODRIGUES
 
mblock_extension_guide.pdf
mblock_extension_guide.pdfmblock_extension_guide.pdf
mblock_extension_guide.pdfDogoMaker
 

Similar to LAB 1.docx (20)

Vhdl design flow
Vhdl design flowVhdl design flow
Vhdl design flow
 
Lab jam websphere message broker labs
Lab jam   websphere message broker labsLab jam   websphere message broker labs
Lab jam websphere message broker labs
 
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
 
Introduction to Bitreactive
Introduction to BitreactiveIntroduction to Bitreactive
Introduction to Bitreactive
 
Working with Simulink
Working with SimulinkWorking with Simulink
Working with Simulink
 
Automation in Hypermesh
Automation in HypermeshAutomation in Hypermesh
Automation in Hypermesh
 
.net Based Component Technologies
.net Based Component Technologies.net Based Component Technologies
.net Based Component Technologies
 
Simulink based software
Simulink based software Simulink based software
Simulink based software
 
Plugin-based IVI Architectures with Qt
Plugin-based IVI Architectures with Qt Plugin-based IVI Architectures with Qt
Plugin-based IVI Architectures with Qt
 
Simulink
SimulinkSimulink
Simulink
 
outgoing again
outgoing againoutgoing again
outgoing again
 
Cp e 214_appendix_c
Cp e 214_appendix_cCp e 214_appendix_c
Cp e 214_appendix_c
 
Cadence design environment
Cadence design environmentCadence design environment
Cadence design environment
 
CI/CD Templates: Continuous Delivery of ML-Enabled Data Pipelines on Databricks
CI/CD Templates: Continuous Delivery of ML-Enabled Data Pipelines on DatabricksCI/CD Templates: Continuous Delivery of ML-Enabled Data Pipelines on Databricks
CI/CD Templates: Continuous Delivery of ML-Enabled Data Pipelines on Databricks
 
Bluemix and DevOps workshop lab
Bluemix and DevOps workshop labBluemix and DevOps workshop lab
Bluemix and DevOps workshop lab
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniques
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5
 
Mini Project- USB Temperature Logging
Mini Project- USB Temperature LoggingMini Project- USB Temperature Logging
Mini Project- USB Temperature Logging
 
3- Siemens Open Library - Example Object Configuration.pdf
3- Siemens Open Library - Example Object Configuration.pdf3- Siemens Open Library - Example Object Configuration.pdf
3- Siemens Open Library - Example Object Configuration.pdf
 
mblock_extension_guide.pdf
mblock_extension_guide.pdfmblock_extension_guide.pdf
mblock_extension_guide.pdf
 

More from MuhammadUsman854361

More from MuhammadUsman854361 (8)

RFMW Lecture 2.pptx
RFMW Lecture 2.pptxRFMW Lecture 2.pptx
RFMW Lecture 2.pptx
 
RF & microwave CEP Presentation.pptx
RF & microwave CEP Presentation.pptxRF & microwave CEP Presentation.pptx
RF & microwave CEP Presentation.pptx
 
Critical Thinking..pptx
Critical Thinking..pptxCritical Thinking..pptx
Critical Thinking..pptx
 
poster presentation, Muhammad Usman.pptx
poster presentation, Muhammad Usman.pptxposter presentation, Muhammad Usman.pptx
poster presentation, Muhammad Usman.pptx
 
Chapter_4.pptx
Chapter_4.pptxChapter_4.pptx
Chapter_4.pptx
 
5_2019_02_04!01_18_39_AM.docx
5_2019_02_04!01_18_39_AM.docx5_2019_02_04!01_18_39_AM.docx
5_2019_02_04!01_18_39_AM.docx
 
Conflict and Negotiations.pptx
Conflict and Negotiations.pptxConflict and Negotiations.pptx
Conflict and Negotiations.pptx
 
Group Behaviour.pptx
Group Behaviour.pptxGroup Behaviour.pptx
Group Behaviour.pptx
 

Recently uploaded

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

LAB 1.docx

  • 1. LAB No: 01 Introduction to Simulink and communication Blockset Introduction to Simulink: Simulink is an environment for simulation and model-based design for dynamic and embedded systems. It provides an interactive graphical environment and a customizable set of block libraries that let you design, simulate, implement, and test a variety of time-varying systems, including communications, controls, signal processing, video processing, and image processing. Simulink offers: • A quick way of develop your model in contrast to text based-programming language such as e.g., C. • Simulink has integrated solvers. In text based-programming language such as e.g., C you need to write your own solver. Start using Simulink You start Simulink from the MATLAB IDE: Open MATLAB and select the Simulink icon in the Toolbar:
  • 2. Or type “Simulink” in the Command window, like this: Then the following window appears (Simulink Library Browser):
  • 3. The Simulink Library Browser is the library where you find all the blocks you may use in Simulink. Simulink software includes an extensive library of functions commonly used in modeling a system. These include: • Continuous and discrete dynamics blocks, such as Integration, transfer functions, Transport Delay, etc. • Math blocks, such as Sum, Product, Add, etc. • Sources, such as Ramp, Random Generator, Step, etc. Block Libraries Here are some common used Continuous Blocks: Here are some common used Math Operations Blocks: Here are some common used signal Routing Blocks: Here are some common used Sinks Blocks:
  • 4. Here are some common used Sources Blocks: In addition, there are lots of block in different Toolboxes:
  • 5. Introduction to Communications Blockset: • The Communications Blockset is a collection of Simulink blocks designed for research, development, system design, analysis, and simulation in the communications area. • You can use the blockset’s ready-to-use blocks directly, or you can easily modify them to implement your own methods and algorithms. Communications Blockset Blocks in this product can model various processes within communication systems, including: • Signal generation • Source coding • Error-control coding • Interleaving • Modulation/demodulation • Transmission along a channel • Synchronization The Example Model: • The figure below shows the example model:
  • 6. Overview of the Simulation • This example simulation starts by creating a random binary message signal. • The simulation encodes the message into a convolution code, modulates the code using the binary phase shift keying (BPSK) technique, and adds white Gaussian noise to the modulated data in order to simulate a noisy channel. • Then, the simulation decodes the convolution code while trying to correct as many noise- induced errors as possible. • The decoding also involves some intermediate steps to prepare the received data for the decoding block. • Finally, the simulation compares the decoded information to the original message signal in order to compute and display an error rate. • The table below indicates which blocks from the Communications Blockset appear in the model, the order they appear in the model, and the purpose each one serves. The model also uses some blocks from Simulink and the DSP Blockset: • Unbuffer (DSP Blockset) • Complex to Real-Image (Simulink) • Terminator (Simulink) • Buffer (DSP Blockset) • Display (Simulink)
  • 7. Building the Model Part 1: Placing the First Block • To start building the model, follow these steps: • Type commlib at the MATLAB prompt. This opens the Communications Blockset main library. • From the library's File menu, select New and then select Model. This opens a new model window called untitled. You will build the example model in this window. • From the model window's File menu, select Save. Choose an appropriate location and filename for the model you are about to build. You should save the model frequently while you are editing it, to avoid losing any work. • In the Communications Blockset main library, double-click on the Comm Sources icon. This opens the Comm Sources library. • In the Comm Sources library, find the icon for the Bernoulli Random Binary Generator block. Drag it into the model window. 12 Building the Model • In the model window (not the Comm Sources library window), double-click on the Bernoulli Random Binary Generator icon. This opens the block's parameter dialog box, also called its mask.
  • 8. Part 2: Placing Other Blocks • This section tells how to find and configure the other blocks required for the example model. First open the main libraries of the products that contain those blocks: • To open the main DSP Blockset library, type dsplib at the MATLAB prompt. • To open the main Simulink library, type simulink3 at the MATLAB prompt. From the Communications Blockset Library: • Convolutional Encoder < Use default parameter values >
  • 9. • BPSK Modulator Baseband < Use default parameter values >