Engineering Department, UMass Boston XXXXXXXXXXSpring 2021

ENGIN 322: Probability and Random Processes

Project #1: Data Communications

Project Description

In this project, you will simulate a message passing system where characters in a message are converted

into their ASCII representation and transmitted as data bits across a channel with additive random noise.

The received signal is converted into data bits and these bits are used to recreate the original message.

https:

en.wikipedia.org/wiki/ASCII

Part I

Observe the sample Matlab script message_passing.m. This script generates a character string, converts

the string to ASCII values, converts the ASCII values into an a

ay of bits, turns the bits back into ASCII

values, and finally converts the ASCII values back into a message string. In part I of the project, create two

functions based on the existing code: one to encode the message and one to decode the bits. Modify the

message_passing script so that it uses these functions.

function [ bits_tx ] = my_encode( my_message )

function [ message_rx ] = my_decode( bits_rx )

Part II

In part II, add a noise component to the signal before determining the received bits. Use the Matlab randn()

function to add random noise with Gaussian distribution and parameters ??2 and ?? representing the

variance and mean, respectively. Start with values ?? = 0.1 and ?? = 0. Explore what happens to your

message when you change the values of ?? and ??.

Question 1: As you change ?? and ??, what happens to your message? Why?

Question 2: Consider the noise parameters ?? = 0.1 and ?? = 0.25. How can you change the parameter

DECISION_LEVEL to improve the performance of this message passing system?

Part III

In Part III, you will analyze the bit e

ors caused by the noise. In this case, you can randomly generate an

a

ay of bits rather than using a message. First, setup the code to generate bits_tx, add noise, and

determine bits_rx. Next, determine the number of e

ors by comparing the values of bits_tx and bits_rx.

Finally, determine the percentage of bits that are received in e

or (i.e., the bit e

or rate or BER).

Question 3: Using your knowledge of the Gaussian distribution, determine (a) the theoretical probability

that a transmitted 0 is received as a 1, and (b) the theoretical probability that a transmitted 1 is received

as a 0.

Question 4: From your answer to question 3, determine the theoretical probability of getting a bit e

or

when each transmitted bit is a 1 with probability ??.

Question 5: How does the theoretical results from questions 3/4 compare with what you see in simulation?

https:

en.wikipedia.org/wiki/ASCII

Grading Metrics

• Coding and Results: 30%

• Theoretical Analysis: 40%

• Written Report: 30%

Coding and Results: This portion of the project will be graded based on the implementation of code as

described for Part I, II, and III above. Results should be described in a RESULTS section of your written

eport which should include a description of the observed outcomes as well as some depiction of the

esults from your code (e.g., plotting BER vs. ??).

Theoretical Analysis: This portion of the project will be graded based on your answers to the questions in

Parts II and III. Be sure to clearly indicate the answers for each of the questions within your written report.

Written Report: The written report should be submitted on blackboard by midnight on March 9. The report

should be 2-4 pages including an overview of the project, expected outcomes, your analysis method,

esults, and observations. You may include any code as an appendix.

NOTE: You may choose to work with a partner on this project. If you do, I expect that the written report

will be more detailed and should be 5-6 pages.

Project Description

Part I

Part II

Part III

Grading Metrics

Course Name: _________________________________

Engineering Department

University of Massachusetts, Boston

Semester: Spring 2020

Instructor: Dr. Michael Rahaim

Project Report for:

Assignment

Name: _________________________________________

Student ID: _____________________________________

Date: __________________________________________

I pledge to uphold the governing principles of the Code of Student Conduct of the University of Massachusetts Boston. I will refrain from any form of academic dishonesty or deception, cheating, and plagiarism. I pledge that all the work submitted here is my own, and that I have clearly acknowledged and referenced other people’s work. I am aware that it is my responsibility to turn in other students who have committed an act of academic dishonesty; and if I do not, then I am in violation of the Code. I will report to formal proceedings if summoned.

Signature: ___________________________________________________________________________

Contents

Project Overview 3

Expected Outcomes 3

Analysis Method 3

Results and Observations 3

Experimental Results 3

Theoretical Results 3

Summary 3

Appendices 4

NOTE: To automatically update ToC, right click above and select “Update Field”

Project Overview

Describe the project objectives and relation to the course content.

Expected Outcomes

Provide a

ief hypothesis of what you expect (or expected) to see prior to implementing this project

Analysis Method

Describe your process for modifying and executing code for each part of the project along with any theoretical background needed for your results.

Results and Observations

Provide graphical results as a figure or set of figures demonstrating the outcome of your project along with a description of your observations and answers to any questions in the project description.

Experimental Results

Figures and outcomes related to the code that you’ve written

Theoretical Results

Additional figures and outcomes connecting the theoretical results to theory (and answers to any questions defined in the project description).

Figure Example

Figure 1: Include a caption for any figures added to your report. Note that you can group the figure and the figure caption text box together to make things easier if you need to move the figure.

Summary

Briefly summarize your results and the observed connection to course content along with any specific course material that was used in the process of implementing this project

Appendices

Insert code as an appendix and reference the code when writing your report

NOTE: Do not include appendices in your page count.

Answered 1 days AfterMar 06, 2022

SOLUTION.PDF## Answer To This Question Is Available To Download

- Electronic Engineering Technology Electronic Engineering Technician Automated Test Equipment - EETD 5109 Nova Scotia Community College Instructor: Craig Cameron, Telephone: XXXXXXXXXX,...SolvedMar 15, 2022
- Module Order Modeling This assignment involves ordering of software modules, based on the number of faults predicted by a software quality prediction model. Use the predictions obtained with Linear...SolvedMar 10, 2022
- · Title Page · Abstract · Introduction Identify the experiment to be undertaken, the objectives of the experiment, the importance of the experiment, and overall background for understanding the...SolvedFeb 28, 2022
- 14:332:548, Error Control Coding Homework 4 Rutgers University 1. Let F be the ternary field GF (3) and let C be a linear code over F that is generated by G = XXXXXXXXXX ) (a) List all the...SolvedFeb 24, 2022
- Iam taking a diploma in electrionics engineering technician, For a course iam taking this semester called application development, I need to do a project using mit app inventor website, First step of...SolvedFeb 23, 2022
- Engineering Circuit Analysis (EGR-211) Lab #1 Objective: To utilize MultiSim Live and simulate ▪ Single Loop - The Voltage Divider ▪ Single Node-Pair - The Current Divider Equipment PC with MultiSim...SolvedFeb 17, 2022
- HI iam a seciond a year taking diploma in electronics technician engineering, i need help in doing an assignment from a course called auomated test equipment, its basically programming in a software...SolvedFeb 17, 2022
- Control of a Nonlinear Model of a Robotic Arm with a Flexible Joint via the Linearization Technique Consider a single-link robotic manipulator with a flexible joint whose nonlinear mathematical model...SolvedFeb 13, 2022
- INTRODUCTION: Smart Garbage System deals with the problem of solid waste management in the city or any public area, college, home etc. For smart lifestyle cleanliness is needed and cleanliness starts...SolvedFeb 12, 2022
- 14:332:548, Error Control Coding Homework 3 Rutgers University 1. (a) Show that the polynomial X2 + 1 is irreducible over GF (3). (b) Construct GF (32) using X2 + 1 as an irreducible polynomial...SolvedFeb 11, 2022

Copy and Paste Your Assignment Here

Disclaimer: The reference papers provided by TAE serve as model papers for students and are not to be submitted as it is. These papers are intended to be used for research and reference purposes only.

Copyright © 2022. All rights reserved.