Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

work for whole assignment

1 answer below »
Microsoft Word - KAA109 Assignment 2.docx

ASSIGNMENT 2
COLLEGE    OF    SCIENCES    AND    
ENGINEERING
KAA109    ENGINEERING    PROBLEM    SOLVING    AND    DATA    ANALYSIS COLLEGE    OF    SCIENCES    AND    ENGINEERING
Goal
To demonstrate your ability to process and present data using MATLAB.
Requirements
You must write a MATLAB programme that reads data from a CSV file. The data is time
series voltage data from a 4-channel digital signal. Note that each channel contains raw noisy
data.
Your programme must:
1. Plot     the    decoded    digital     signals     (one    subplot    per    channel).    The    signal    will     consist    of    only    
zeros    and    ones.    Make    sure    the    data    is    easy    to    read    (e.g.    select    appropriate    ranges    for    axes,    
format    the    plot    with    appropriate    lines,    colours,    titles    etc.).    
2. Plot     the     noise     in     each     channel     (one     subplot     per     channel).     Again,     ensure     the     plot     is    
appropriately    formatted.    
3. Plot    the    PDF    of    the    noise.    Combine    the    noise    from    all    channels    in    your    analysis.    Remember    
that    a    PDF    is    a    plot    of    probabilities    of    each    possible    value    and    therefore    the    integral    over    all    
values    is    equal    to    1.    Hint:    You    can    approximate    a    PDF    with    a    histogram,    but    remember    to    
scale    so    that    the    sum    of    all    values    is    equal    to    1.    
4. Decode    the    message    and    print    it    out.    
CSV Format
The Comma Separated Value (CSV) data is a
anged in 5 columns. The first column is the
time in seconds, the following 4 columns each represent one of the 4 data channels and
values are measured in volts. Each row represents a single sample and samples are taken at a
ate of approximately 10MHz.
The following is an example of the data stored in the CSV file:
time pair1 pair2 pair3 pair4
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
Table 1 Sample CSV Data
Digital Signal Decoding
The digital signal is transmitted along 4 twisted pairs (twisted wires, each with a single
stream of data); you can simply consider there to be 4 channels being received at the same
time. The data, however, is made up of 8 bits. So, in order to decode the message, you will
need to read the 4 bits coming in from the 4 channels, then read in the next 4 bits and
combine them to make a total of 8 bits. Each 8 bits of data are a single ASCII character. Fo
ASSIGNMENT 2
COLLEGE    OF    SCIENCES    AND    
ENGINEERING
KAA109    ENGINEERING    PROBLEM    SOLVING    AND    DATA    ANALYSIS COLLEGE    OF    SCIENCES    AND    ENGINEERING
example, the following data represents the 8-bit numbers XXXXXXXXXXand XXXXXXXXXXwhich are
the ASCII characters “H” and “i”, or the string “Hi”.
pair1 pair2 pair3 pair4
0 1 0 0
1 0 0 0
0 1 1 0
1 0 0 1
Table 2 Example Binary Data
The digital data is encoded so that a value below 1.2V is considered a 0 (zero) and a value
above 2.2V is considered to be a 1 (one). For example, the following signal from a single
channel encodes 1, 1, 0, 1, 0, 0, … etc. Note that it also contains noise.

Figure 1 Example Input Data from a Single Channel
As mentioned in the CSV format description above, the data is sampled at 10MHz. However,
the data rate is only 1Mbps (1 Mega-bits per second, so 10 times slower). As such, there will
e multiple samples per bit in the CSV file. You will need to account for this when decoding
the signal and extracting the ones and zeros.
Submission and Assessment
If there are any terms or concepts mentioned above that you do not understand you will need
to do some research. You may also need to research how to do some things in MATLAB. If
your research does not successfully answer your questions, you may then ask via email
( XXXXXXXXXX) or Slack (https:
kaa XXXXXXXXXXslack.com/archives/C03CGU7UL6M).
While you are allowed to search the web for assistance, you must complete the assignment
alone and will fail instantly if your solution appears to be the same as any other students’.
To pass this assessment (50%) you must achieve ALL of the following:
• Submit    a    single    MATLAB    file    only    to    the    Supplementary    Assignment    drop    box    in    MyLO.    
• Include     informative    comments     in    your    code     to    explain    what     the    code     is    achieving    and    
eference    the    relevant    requirements.    
• Meet    at    least    3    out    of    the    4    requirements.    
To achieve a Distinction (70% or more) you will need to meet all 4 requirements.
To achieve a High-Distinction (80% or more) your solution must be well presented in terms
of comprehensive comments and elegant code structure, be easy to read and understand and
output formats must be well presented.
-2
-1
0
1
2
3
4
5
XXXXXXXXXX XXXXXXXXXX
pair4
Answered 9 days After May 04, 2022

Solution

Sathishkumar answered on May 13 2022
111 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here