Docsity

Homework 1 with Solutions for Statistical Signal Processing | ECE 567, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 567 STATISTICAL SIGNAL PROCESSING SPRING 2008
Homework Assignment #1
Solutions
1. The decision rule is
d(x) = ½d0,Λ(x)<1
d1,Λ(x)>1
with
Λ(x) = e−|x−A|
e−|x|
=e|x|−|x−A|
=
eA, x > A
e2x−A,0< x < A
e−A, x < 0
Therefore we use
d(x) = ½d0, x > A/2
d1, x < A/2
The detection probability is
PD=Z∞
A/2
1
2e−|x−A|dx
=Z∞
−A/2
1
2e−|x|dx
=1
2+ZA/2
0
1
2e−xdx
=1
2+1
2¡1−e−A/2¢
= 1 −1
2e−A/2.
Thus,
PD= 1 −1
2e−A/2.
The false alarm rate is
PF A =Z∞
A/2
1
2e−|x|dx
=1
2e−A/2.
Thus,
PF A =1
2e−A/2.
pf3
pf4

Partial preview of the text

Download Homework 1 with Solutions for Statistical Signal Processing | ECE 567 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 567 STATISTICAL SIGNAL PROCESSING SPRING 2008

Homework Assignment # Solutions

  1. The decision rule is d(x) =

d 0 , Λ(x) < 1 d 1 , Λ(x) > 1 with

Λ(x) = e−|x−A| e−|x| = e|x|−|x−A|

eA, x > A e^2 x−A, 0 < x < A e−A, x < 0 Therefore we use d(x) =

d 0 , x > A/ 2 d 1 , x < A/ 2 The detection probability is

PD =

A/ 2

e−|x−A|dx

−A/ 2

e−|x|dx

∫ A/ 2

0

e−xdx

=

1 − e−A/^2

e−A/^2.

Thus, PD = 1 − 12 e−A/^2. The false alarm rate is

PF A =

A/ 2

e−|x|dx

=

e−A/^2.

Thus, PF A = 12 e−A/^2.

  1. As in Problem 1 we have

Λ(x) = e−|x−A| e−|x| = e|x|−|x−A|

eA, x > A e^2 x−A, 0 < x < A e−A, x < 0 but now the decision rule is

d(x) =

d 0 , Λ(x) < γ d 1 , Λ(x) > γ with γ to be determined to make PF A = 0.1. Since Λ(x) increases monotonically with x, we can see that no matter what the value of γ, the decision rule will take the form

d(x) =

d 0 , x < x 0 d 1 , x > x 0 Noting that

PF A =

x 0

e−|x|dx

2 e

−x (^0) , x 0 > 0 1 − 12 e−|x^0 |, x 0 < 0 , solving for x 0 yields

x 0 =

− ln (2PF A) , PF A < 1 / 2 ln (2 (1 − PF A)) , PF A > 1 / 2.

The value of PD is PD =

x 0

e−|x−A|dx

yielding

PD =

2 e −(x 0 −A), x 0 > A 1 − 12 e−|x^0 −A|, x 0 < A. The test does not depend on A, because the form of the decision rule (which is in- dependent of A) makes the false alarm rate depend only on p(x|H 0 ), which has no dependence on A. Note, however, that PD does depend on A.

  1. (a) We have

ln(Λ(x)) = ln(

π

x^2 + |x|

The plot of this function is the following.

For a given N , we can use equation (1) to determine the smallest γ that achieves PF A = 0.01 via

γ =

N

erfc−^1 (0.02).

Then, the smallest value for A that achieves PD ≥ 0 .9 is found from equation (2) as

A = γ −

N

erfc−^1 (1.8).

Then N A^2 = 2

erfc−^1 (0.02) − erfc−^1 (1.8)

which is a constant independent of our choice of N. We can for instance choose N = 1 and then set A according to equation (3).