ps7_soln - hold on end legend( '\alpha = 0' , '\alpha =...

Info iconThis preview shows pages 1–21. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
EE 497B Problem Set 7 Solutions -4- Problem 48: % EE 497B % Problem Set 7; Problem 48 % List of SNR values alpha = [0, 0.5, 1, 2, 3]; for j = 1:length(alpha) p = linspace(-(alpha(j)+3)/sqrt(2), 3/sqrt(2), 100); q = linspace(-3/sqrt(2), (alpha(j)+3)/sqrt(2), 100); Prob_Corr_Det = 0.5 - erf(p)/2; Prob_False_Alarm = 0.5 - erf(q)/2; figure(1) plot(Prob_False_Alarm, Prob_Corr_Det)
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 14
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 16
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 18
Background image of page 19

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 20
Background image of page 21
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: hold on end legend( '\alpha = 0' , '\alpha = 0.5' , '\alpha = 1' , ... '\alpha = 2' , '\alpha = 3.0' ) ylabel( 'Probability Correct Detection' ) xlabel( 'Probability False Alarm' ) % plot line corresponding to Prob False Alarm = 0.1 plot([0.1, 0.1], [0,1], '-r' ) % find Prob Correct Detection at each SNR for Prob False Alarm = 0.1 ginput(5)...
View Full Document

Page1 / 21

ps7_soln - hold on end legend( '\alpha = 0' , '\alpha =...

This preview shows document pages 1 - 21. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online