Communication of digital information

I’m working on a mathlab multi-part question and need guidance to help me understand better.

1 INTRODUCTION This project investigates a very common problem in communication of digital information, the variation of the bit error rate (or probability of bit error) as a function of changing the signal-to-noise ratio at the detector input. It is complicated, but I’ve tried to break out the steps as clearly as possible. This is a real, and immensely important, application of maximum likelihood detection techniques. Take your time. Do not let it go to the last minutes. In revision 5, the changes are in red, so you can find them quickly. There is an additional task in 2.5. I’ve made these changes based on my experience in crafting a solution to Project 4, as well as comments or questions from students. 1.1 Due Date Project 4 is due on Wednesday May 5, at 11:59 PM. Project 5 is due on Monday, May 17 at 11:59 PM. 1.2 Background Binary Amplitude Shift Keying (BASK) is a technique of sending binary information by sending one of two signals levels, with one level assigned to be a binary 1 and one level assigned to be a binary 0. One common mapping is to send a level of when the binary information is a 1 and to send at when the binary information is a 0. For this project we will assume a BASK system with the input being a binary random variable and The random variable is a simple mapping and the random variable corresponds to the symbol bit in a string of symbols, generated by the mapping of the input bit . For the various values for different values are independent and identically distributed, with . (1.1) As in Project 2, this sequence of i.i.d. random values is corrupted by additive white Gaussian noise, where the pdf of the noise is −A +A B ∈{0,1} Pr⎡B = 0 ⎣ ⎤ ⎦ = p0 , Pr⎡B = 1 ⎣ ⎤ ⎦ = 1− p0. M b = 0 ! m = −A, b = 1! m = A Mk k-th Bk Bk and Mk k fB (b) = p0 b = 0 1− p0 b = 1 ⎧ ⎨ ⎪ ⎩ ⎪ f M (m) = p0 m = +A 1− p0 m = −A ⎧ ⎨ ⎪ ⎩ ⎪2 . (1.2) Our model for our received signal is , (1.3) and we can assume that the random variables are independent. Hint: This is the same model used in Project 3, except we will be varying the noise variance. Hint: Notice that we are NOT using M and N as the number of rows and number of columns in your R matrix, as we have done before! Please be careful and don’t confuse them! We are tasked to design a Maximum A Priori (MAP) detection method that will examine the value received random variable, at the time instant , and estimate the value of the corresponding input binary digit, where the is the binary digit used to create the BASK value , and is the estimate at the output of the MAP detector. For this simple model, the Signal to Noise ratio, , is defined as , (1.4) and is often expressed in decibels, . Throughout your implementation of this Project, please assume that the value of , so that and Figure 1 shows the bits, messages, noise, received value, estimates and errors. The pmf for the input bits is not changed for any particular set of experiments. The entire process is repeated for various values of , which specify the variance by means of (1.4) fN (n) ~ N(0,σ2 ) = 1 2πσ2 e−n2 /(2σ2 ) , − ∞ < n < ∞ R = M + N M,N r k k ˆ bk bk ∈{0,1} mk ˆ bk γ γ = A2 σ2 γ dB = 10log10 (γ ) A = 1 γ = 1 σ2 γ dB = −10log10 (σ2 ) = −20log10 (σ ) γ dB3 Figure 1 Overall System Model for Project 4 (revised 4/19/2021) 2 PROJECT TASKS Perform the following tasks, document your results and submit them in written form in accordance with the instructions in Section 3, below. You may use this document as a format. 2.1 Design the MAP detector Design a MAP detector by the following steps. 1) Write expressions for the conditional pdfs, and . 2) Transform those conditional pdfs into the joint pdfs and by application of Bayes’ Rule. The answer will explicitly contain . 3) Using these joint pdfs, set up the ratio (think through what this means!). You will see that this ratio contains exponentials, the Gaussian constant, and a ratio of terms explicitly containing When , the numerator is larger than the denominator and thus the input is more likely. 4) Carefully take the natural log of the ratio and set the result equal to zero, because (Note that there is no derivative necessary here; we’re not formally maximizing, we’re just comparing the two pdfs.) Solve for , the value that makes the equation true. Hint: The MATLAB routine log takes the natural logarithm. log10 is logarithm to the base 10. BASK + MAP (or ML) Count Errors fB (b) = p0 b = 0 1− p0 b = 1 ⎧ ⎨ ⎪ ⎩ ⎪ b1,b2 ,…,bk ,…bn m1,m2 ,…,mk ,…mn r 1,r 2 ,…,r k ,…r n ˆ b1, ˆ b2 ,…, ˆ bk ,…ˆ b b1 n ,b2 ,…,bk ,…bn e1,e2 ,…,ek ,…en ∈{0,1} XOR pBX = Nerror Ntrial = Nerror n n1,n2 ,…,nk ,…nn iid fN (n) = N(0,σ2 ) b = 0 ! m = + A b = 1! m = − A fR|M =A(r | M = A) f r|M =− A(r | M = −A) fR,M (r, A) fR,M (r,−A) p0 L = fRM (n,m | b = 0) fRM (n,m | b = 1) p0. L > 1 b = 0 log(1) = 0. r = τ MAP Λ = log(L) = 04 Your MAP detector uses this voltage threshold, , to decide if each individual received value (in volts) should be interpreted as a binary 1 or a binary 0. That is (1.5) Explain how your value of does or does not depend on For a noise variance equivalent to a fixed value of (remember the assumption that ), plot the values of your MAP threshold, , as a function of over the range . Discuss why your MAP threshold curve makes sense in terms of the interpretation of Why does the threshold move in one direction or the other based on ? 2.2 Investigate the MAP detector For a value of and a value of , generate a large number of i.i.d. samples of the random variable and plot the histogram corresponding to the pdf . Using this value of , and the equivalent of , plot the analytical value of on the same figure. Indicate on your plot where the MAP threshold would be for this set of parameters. Look at the relative amplitudes of the “humps” of the Gaussian histograms and think about what they mean. 2.3 Evaluate the ML Detector 2.3.1 Find the ML threshold Modify your MAP detector to be a maximum likelihood (ML) detector by assuming that a binary 1 and a binary 0 are equally likely, and determine the ML threshold, . Explain why this value makes sense. 2.3.2 Derive the probability of error. Then, using the value of your ML threshold, analytically compute the theoretical . Using the following steps 1) Write the conditional pdf when the input bit is 2) Using the threshold in (1.5), write the limits of the region where the ML decision selects a 1 instead of a 0. 3) Integrate the conditional pdf over that region to find the conditional probability of error given that the input was a 0. Hint: The Q function will be of use here, consider your change of variables from an early homework. 4) Write the conditional pdf when the input bit is τ MAP r k ˆ bk = 1 r k < τ MAP 0 r k ≥ τ MAP ⎧ ⎨ ⎪ ⎩ ⎪ τ MAP p0. γ dB = 10 dB A = 1 τ MAP p0 0.01≤ p0 ≤ 0.99 p0. p0 p0 = 0.6 γ dB = 10 dB R fR (r) p0 σ2 fR (r) τ ML pBT b = 0. b = 1.5 5) Using the threshold in (1.5), write the limits of the region where the ML decision selects a 0 instead of a 1. 6) Integrate the conditional pdf over that region to find the conditional probability of error given that the input was a 1. 7) Use the Principle of Total Probability to write an expression for the unconditional probability of error. This is . For full credit, combine the terms wherever possible. Hint: Remember the Q function. MATLAB knows about erfc, but not Q. 2.3.3 Simulate the ML detector. Evaluate the bit error performance of the ML detector as a function of the signal-to-noise ratio by varying from 1 dB to 8 dB in steps of 0.5 dB, and then from 8.5 dB to 13 dB in steps of 0.25 dB. At each value of , generate a very large number of trials of the random variable , apply your ML decoder, and compare with the estimate . Hint: errors = mod(bk-bkhat,2) Count all of the errors at each value of , and compute your experimental probability of bit error, (1.6) at each value of , where is the number of errors counted and is the number of trials. Save the values of , for use in Section 2.5. Plot the simulated results on the y-axis against on the x-axis. On the same figure plot a smooth curve of using your theoretical value. Discuss any differences between your simulated values and your analytical curve. Hint: At , there should be about 1 error in every 100,000 trials, so you may need several hundred thousand trials for the higher values of . Hint: To plot the analytical values, you can use a much finer step size for to get a smooth curve, because you are just doing the computation, not a simulation at each point. You might also want to plot the simulated values using only symbols to make it clear the exact coordinates of the simulation points. Hint: Your curves should have a negative slope: as increases, decreases. Hint: Consider the MATLAB function semiology for the plots. pBT γ dB γ dB R bk ˆ bk γ dB pBX = Nerror Ntrials γ dB Nerror Ntrials (γ dB , pB ) log10 ( pBX ) γ dB log10 ( pBT ) γ dB = 12.6 dB γ dB γ dB γ dB pB6 2.4 Evaluate the MAP Detector 2.4.1 Derive the probability of error using the MAP threshold Following the same steps as 2.3.2 write an expression for the probability of error for the MAP threshold. Your answer should explicitly contain . 2.4.2 Simulate the MAP detector Following the same steps as 2.3.3, simulate the bit error performance of the MAP detector. Remember to use when establishing your random binary bits, . Plot the simulated results on the y-axis against on the x-axis. On the same figure plot a smooth curve of using your theoretical value. Discuss any differences between your simulated values and your analytical curve. 2.5 Compare the MAP and ML Detector performance Finally, plot the analytical for ML detector (from 2.3) and the analytical for MAP detector (from 2.4), on the same x-axis, that is, plot two curves on the same figure. Discuss any differences. Then, on a separate figure, plot the ratio (1.7) on the (linear) y-axis against the value of on the x-axis. How does this ratio compare with a value of 1, which would indicate that the probability of error was the same for MAP and ML? Why does the ratio (compared to 1) make sense? Hint: What does tell us? 3 INSTRUCTIONS FOR PROJECT REPORT 3.1 Report Format The project report shall be in the same form as this document, with an introduction, simulation and discussion section, and a “what I learned” section. Each section shall contain the content identified in Section 2 and the appropriate Section 3 subsection below. The report shall be in Times New Roman 11 point font. MATLAB pictures shall be pasted in-line in the report (this is a useful skill to know!); shall be numbered consecutively; shall be appropriately titled; the axes shall be appropriately labeled; the curves shall be appropriately identified by an appropriate legend. 3.2 Section 2 Content Section 2 of the report shall be titled “Simulation and Discussion” and shall contain the simulation plots and a discussion of each plot. The discussion shall address the points identified in Section 2, and any other interesting p0 p0 bk log10 ( pBX ) γ dB log10 ( pBT ) log10 pBT log10 pBT γ dB ρ = pBT for p0 = 0.6 (MAP) pBT for p0 = 0.5 (ML) γ DB p0 ≠ 0.57 observations that occur to you. Remember, I know this stuff: you don’t. So take a look at the plots and tell me what you see and what it means to you. 3.3 Section 3 Content Section 3 of the report shall be titled “What I learned” and shall contain a summary of what information you observed, what insights you gained, etc. Section 3 shall also contain a subsection critiquing the project and suggesting improvements that I could institute for next spring. Finally, Section 3 shall contain an estimate of how much time you spent on the project, including reading, research, programming, writing, and final preparation. 3.4 Questions I will accept questions regarding the project through the Ask the Professor discussion forum through 6 PM on Tuesday April 13, 2021. Please plan to check the Ask the Professor discussion forum frequently to learn of clarifications and hints (if I give any!). In my opinion, Project 3 is actually easier than Project 2, so I’m less likely to give direct assistance. 3.5 Project Grading The project will be graded in the following way: 75% of the project score shall depend on the technical, theoretical, and graphical presentations of the tasks set out in Section 2 of this document. 25% of the project score shall be based on an evaluation of the technical writing against the Rubric on Technical Writing, posted on Blackboard, including grammar, clarity, organization, etc. For the purpose of this document, you can assume that the intended audience consists of your CMPE320 classmates

Don't use plagiarized sources. Get Your Custom Essay on
Communication of digital information
Just from $9/Page
Order Essay

Get Professional Assignment Help Cheaply

Buy Custom Essay

Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?

Whichever your reason is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.

Why Choose Our Academic Writing Service?

  • Plagiarism free papers
  • Timely delivery
  • Any deadline
  • Skilled, Experienced Native English Writers
  • Subject-relevant academic writer
  • Adherence to paper instructions
  • Ability to tackle bulk assignments
  • Reasonable prices
  • 24/7 Customer Support
  • Get superb grades consistently

Online Academic Help With Different Subjects

Literature

Students barely have time to read. We got you! Have your literature essay or book review written without having the hassle of reading the book. You can get your literature paper custom-written for you by our literature specialists.

Finance

Do you struggle with finance? No need to torture yourself if finance is not your cup of tea. You can order your finance paper from our academic writing service and get 100% original work from competent finance experts.

Computer science

Computer science is a tough subject. Fortunately, our computer science experts are up to the match. No need to stress and have sleepless nights. Our academic writers will tackle all your computer science assignments and deliver them on time. Let us handle all your python, java, ruby, JavaScript, php , C+ assignments!

Psychology

While psychology may be an interesting subject, you may lack sufficient time to handle your assignments. Don’t despair; by using our academic writing service, you can be assured of perfect grades. Moreover, your grades will be consistent.

Engineering

Engineering is quite a demanding subject. Students face a lot of pressure and barely have enough time to do what they love to do. Our academic writing service got you covered! Our engineering specialists follow the paper instructions and ensure timely delivery of the paper.

Nursing

In the nursing course, you may have difficulties with literature reviews, annotated bibliographies, critical essays, and other assignments. Our nursing assignment writers will offer you professional nursing paper help at low prices.

Sociology

Truth be told, sociology papers can be quite exhausting. Our academic writing service relieves you of fatigue, pressure, and stress. You can relax and have peace of mind as our academic writers handle your sociology assignment.

Business

We take pride in having some of the best business writers in the industry. Our business writers have a lot of experience in the field. They are reliable, and you can be assured of a high-grade paper. They are able to handle business papers of any subject, length, deadline, and difficulty!

Statistics

We boast of having some of the most experienced statistics experts in the industry. Our statistics experts have diverse skills, expertise, and knowledge to handle any kind of assignment. They have access to all kinds of software to get your assignment done.

Law

Writing a law essay may prove to be an insurmountable obstacle, especially when you need to know the peculiarities of the legislative framework. Take advantage of our top-notch law specialists and get superb grades and 100% satisfaction.

What discipline/subjects do you deal in?

We have highlighted some of the most popular subjects we handle above. Those are just a tip of the iceberg. We deal in all academic disciplines since our writers are as diverse. They have been drawn from across all disciplines, and orders are assigned to those writers believed to be the best in the field. In a nutshell, there is no task we cannot handle; all you need to do is place your order with us. As long as your instructions are clear, just trust we shall deliver irrespective of the discipline.

Are your writers competent enough to handle my paper?

Our essay writers are graduates with bachelor's, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college degree. All our academic writers have a minimum of two years of academic writing. We have a stringent recruitment process to ensure that we get only the most competent essay writers in the industry. We also ensure that the writers are handsomely compensated for their value. The majority of our writers are native English speakers. As such, the fluency of language and grammar is impeccable.

What if I don’t like the paper?

There is a very low likelihood that you won’t like the paper.

Reasons being:

  • When assigning your order, we match the paper’s discipline with the writer’s field/specialization. Since all our writers are graduates, we match the paper’s subject with the field the writer studied. For instance, if it’s a nursing paper, only a nursing graduate and writer will handle it. Furthermore, all our writers have academic writing experience and top-notch research skills.
  • We have a quality assurance that reviews the paper before it gets to you. As such, we ensure that you get a paper that meets the required standard and will most definitely make the grade.

In the event that you don’t like your paper:

  • The writer will revise the paper up to your pleasing. You have unlimited revisions. You simply need to highlight what specifically you don’t like about the paper, and the writer will make the amendments. The paper will be revised until you are satisfied. Revisions are free of charge
  • We will have a different writer write the paper from scratch.
  • Last resort, if the above does not work, we will refund your money.

Will the professor find out I didn’t write the paper myself?

Not at all. All papers are written from scratch. There is no way your tutor or instructor will realize that you did not write the paper yourself. In fact, we recommend using our assignment help services for consistent results.

What if the paper is plagiarized?

We check all papers for plagiarism before we submit them. We use powerful plagiarism checking software such as SafeAssign, LopesWrite, and Turnitin. We also upload the plagiarism report so that you can review it. We understand that plagiarism is academic suicide. We would not take the risk of submitting plagiarized work and jeopardize your academic journey. Furthermore, we do not sell or use prewritten papers, and each paper is written from scratch.

When will I get my paper?

You determine when you get the paper by setting the deadline when placing the order. All papers are delivered within the deadline. We are well aware that we operate in a time-sensitive industry. As such, we have laid out strategies to ensure that the client receives the paper on time and they never miss the deadline. We understand that papers that are submitted late have some points deducted. We do not want you to miss any points due to late submission. We work on beating deadlines by huge margins in order to ensure that you have ample time to review the paper before you submit it.

Will anyone find out that I used your services?

We have a privacy and confidentiality policy that guides our work. We NEVER share any customer information with third parties. Noone will ever know that you used our assignment help services. It’s only between you and us. We are bound by our policies to protect the customer’s identity and information. All your information, such as your names, phone number, email, order information, and so on, are protected. We have robust security systems that ensure that your data is protected. Hacking our systems is close to impossible, and it has never happened.

How our Assignment Help Service Works

1. Place an order

You fill all the paper instructions in the order form. Make sure you include all the helpful materials so that our academic writers can deliver the perfect paper. It will also help to eliminate unnecessary revisions.

2. Pay for the order

Proceed to pay for the paper so that it can be assigned to one of our expert academic writers. The paper subject is matched with the writer’s area of specialization.

3. Track the progress

You communicate with the writer and know about the progress of the paper. The client can ask the writer for drafts of the paper. The client can upload extra material and include additional instructions from the lecturer. Receive a paper.

4. Download the paper

The paper is sent to your email and uploaded to your personal account. You also get a plagiarism report attached to your paper.

smile and order essay GET A PERFECT SCORE!!! smile and order essay Buy Custom Essay


Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!
Open chat
1
Need assignment help? You can contact our live agent via WhatsApp using +1 718 717 2861

Feel free to ask questions, clarifications, or discounts available when placing an order.
  +1 718 717 2861           + 44 161 818 7126           [email protected]
  +1 718 717 2861         [email protected]