Simulate the transmission and reception of a text message

Assignment Help Computer Engineering
Reference no: EM132095867

Please help me with this assignment.

The purpose of this assignment is to simulate the transmission and reception of a text message (i.e., character string) over a noisy communications channel. Suppose we wish to transmit the string "Hello." We can translate this string into a bit stream as shown below:

String: H e l l o . \0 (note: the last character \0 is the null terminator character)

ASCII: 72 101 108 108 111 46 0

Binary: 01001000 01100101 01101100 01101100 01101111 00101110 00000000

Notice how this string can be expressed as 8 x 7 = 56 bits. Suppose we transmit each of these bits as voltages on an electrical signal (for simplicity, +1.0 V for binary 1 and 0.0 V for binary 0).

We can simulate noise by encoding these bits in a double array of length 56 and then adding noise samples to the 1.0 and 0.0 values that will initially be loaded into the array. With a small amount of noise (low SNR), the values in this array for the first character "H" may be:

0.0143, 0.9985, -0.00124, 0.1076, 1.00325, 0.00173, 0.0563, 0.00474

With low noise, it is clear that the voltages "near" 0 represent binary 0 and the voltages "near" 1 represent binary 1. As a general rule, a receiver will take any voltages less than 0.5 and treat them as binary 0 and any voltages greater than or equal to 0.5 and treat them as binary 1.

Problem

Write a function
char* signal_to_message(double* signal, int size);
that accepts a noisy signal (as an array) and the size of the array. The output should be a string,
i.e., character array with null terminator, that represents the received message.

Reference no: EM132095867

Questions Cloud

What is the saving in the average time to retrieve a webpage : The time for A to obtain the remaining web object after the reception of the HTML file, assuming all the web objects are cached at the proxy.
Prepare journal entries for first interest payment on june : Woodwick Company issues 6%, five-year bonds, on December 31, 2014, Prepare journal entries for first interest payment on June
Creates an array of integers dynamically : Write a C program that creates an Array of integers dynamically (using malloc). You need to ask the user the size of the array.
Defining characteristics of companies : Fortune magazine and hay group found that a clear, stable strategy is one of the defining characteristics of companies on the list
Simulate the transmission and reception of a text message : The purpose of this assignment is to simulate the transmission and reception of a text message over a noisy communications channel.
Representations of business data flow and processes : Assignment - Literature Bonanza - Select appropriate IT solutions for business functions - Apply business information software for data visualization
Prepare january journal entry to record the bond issuance : Legacy issues $710,000 of 8.0%, four year bonds dated January 1, 2015, Prepare the January 1, 2015, journal entry to record the bond's issuance
Understanding of the key topics : This assessment aims to develop and gauge student understanding of the key topics covered so far by answering the following questions.
Prepare a multiple-step income statement : Presented below is information for Furlow Company for the month of March 2014. Prepare a multiple-step income statement

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd