Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objective: The objective of this exercise is to experiment with detecting a signal in noise. Specifically, we are looking at the signal present/absent problem, zero-mean

image text in transcribed

image text in transcribed

Objective: The objective of this exercise is to experiment with detecting a signal in noise. Specifically, we are looking at the signal present/absent problem, zero-mean Gaussian noise, and the maximum likelihood (ML) detection principle. Use Matlab to do the following: - Generate a realization z of a zero-mean Gaussian random variable Z with variance o? using a built-in function randn. Set the SNR to a desired value, e.g. 0 dB, and calculate the signal amplitude A. -Toss a random 0/1 coin with P1 = 0.7 (Po = 0.3) and accordingly set the signal to be present or absent. If present, generate y = A+ z; if absent, generate y = z. - Apply the ML detection rule on the so-generated y to decide whether the signal is present or absent. - Repeat the process for N From the count, estimate the probabiliy of false alarm Pfa and the probability of missed detection Pmd. - Store the result, and repeat everything for different values of the SNR, ranging from 0 dB to 15 dB in steps of 1 dB. Plot the results: Show the graph of the estimated Pfa vs. SNR. On the same graph, plot the theoretical expression for Pfa as a function of the SNR. (For best viewing, use circles for the simulation results, and solid line for the theoretical curve.) = 1. You can do this 10, 000 realizations and count the instances of false alarm and missed detection

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions