HST.582J / 6.555J / 16.456J Biomedical Signal and Image Processing
HST.582J / 6.555J / 16.456J Biomedical Signal and Image Processing
HST.582J / 6.555J / 16.456J Biomedical Signal and Image Processing
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.
Problem Set Y
QUIZ 2 will take place on Thursday, May 10, from 9:30-11 am in 56-154
(usual time and place).
The quiz will be closed book. Two 8 12 11 inch sheet of notes (both
sides) will be allowed.
The quiz will cover material presented in lectures from March 13 (PDFs)
thru April 26 (Random Signals II). Note that there is some overlap with
the image processing topics covered on Quiz 1.
Coverage of topics on the quiz will be somewhat representative of the
amount of time spent on each topic in lectures, labs and problem sets.
You are not responsible for material in the course notes that was not
covered elsewhere in the course. Please see the annotated outline for
listings of specic topics.
This ungraded problem set, which includes questions from with Quiz
2 from 2005 and 2006, will help you prepare for the quiz in two ways:
First, it gives you a chance to work with recently presented material that
was not covered by previous problem sets. Second, it illustrates the type
of questions asked on quizzes in prior years.
This problem set will not be collected or graded. Solutions will be posted
on the course website on Monday, May 7.
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Question 1
x[n] is a stationary random signal. Each sample value of x[n] is independent and uniformly
distributed between +1 and 1. y[n] is the result of taking the rst dierence of x[n], that
is,
1
y[n] = x[n] x[n 1].
2
(a) Compute and sketch the autocorrelation functions Rx [k] and Ry [k].
(b)
y[n] is Gaussian
y[n] is stationary
y[n] is zero-mean
Sy (0) = 2
(Sy (f ) denotes the power spectrum of y[n].)
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Question 2
(A)
(B)
(C)
(D)
A/B/C/D
(circle one)
A/B/C/D
A/B/C/D
(circle one)
(circle one)
A/B/C/D
(circle one)
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Question 3
2
3
(A)
1
(B)
2
3
(C)
1
(D)
(a) Indicate whether or not each gure above represents a valid probability density function
(PDF).
(A) valid / invalid
(circle one)
(circle one)
(circle one)
(circle one)
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
1 2
x
3
2
x
3
1
3
(b) Recall that the cumulative distribution function (CDF) of the random variable X is
dened as the probability that X x. The gure above is the cumulative distribution
function corresponding to which of the PDFs in part (a)?
A/B/C/D
(circle one)
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Question 4
(a) Consider the discrete-time random process, z[n], with
E {z[n]} = 0
E z[n]2
= z2
E {z[10]z[11]} = (1 1/4)z2
E {z[12]z[13]} = (1 1/4)z2
Which of the following is a correct statement: (circle one)
z [n] is a wide sense stationary process.
z [n] is not a wide sense stationary process.
z [n] might be a wide sense stationary process.
(b) Consider the discrete-time random process, y[n]. The probability density function (PDF)
of y[n] is Gaussian with zero mean and variance, 2 , for n = , , . Additionally, the
joint PDF of y[10] and y[11] is jointly Gaussian with zero mean and covariance:
E{ [y[10] y[11]]
[y[10] y[11]]} =
2 0
0 2
while the PDF of y[12] and y[13] is jointly Gaussian with zero mean and covariance:
E{ [y[12] y[13]]
[y[12] y[13]]} =
2
2
2
2
2
2
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
(c) Consider the discrete-time random process, x[n], where samples are drawn alternately
from either a Gaussian probability density function or a uniform probability density function,
so that x[n] is sampled from a Gaussian PDF when n is even and x[n] is sampled from a
uniform PDF when n is odd. Both the Gaussian and uniform PDFs have zero mean and
variance, 2 .
Which of the following are correct statements: (circle all that apply)
x[n] is a strict sense stationary process.
x[n] is not a strict sense stationary process.
x[n] might be a strict sense stationary process.
x[n] is a wide sense stationary process.
x[n] is not a wide sense stationary process.
x[n] might be a wide sense stationary process.
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Question 5 Problem 1
Figure 1 depicts a system block diagram in which
H1 (f ) and H2 (f ) are stable linear shift invariant lters,
Both H1 (f ) > 0 and H2 (f ) > 0 for all f ,
x[n] is a zero-mean white noise sequence with < x[n]2 >= 3,
w[n] is a zero-mean white noise sequence with < w[n]2 >= 2,
x[n] and w[n] are uncorrelated with each other, and
< z[n]2 >= 8.
Note that you have already worked out some details of this specic diagram from the handout
of last years Quiz 2.
a) Give expressions for the following (in terms of the signals and lters in the diagram):
Rxy [m] =
Ry [m] =
Rxz [m] =
Rz [m] =
Sxy (f ) =
Syx (f ) =
Sxz (f ) =
Sy (f ) =
Sz (f ) =
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Question 6
x1
x2
; Mi , i
0 = 1 = 2 = 3 = 4 =
M0 =
1.5
1.5
M1 =
4
1.5
M2 =
1.5
4
1 0
0 1
M3 =
4
4
M4 =
6.5
4
Iso-probability contours for each of the conditional densities are shown in Figure 4 for your
reference. This gure will be repeated for each part of this question in the event that you
wish to mark it.
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
In the problems that follow we will consider subgroups (i.e. classes) of the population at
large which contain individuals with dierent antibody types. In all cases, the prior
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
NAME:
HST-582J/6.555J/16.456J
Spring 2006
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
p1 (x)
p2 (x)
1
2
1
2
1
(a)
1
(b)
Figure 1: PDFs for Question 1. Note that gures are not necessarily to scale.
Question 1 (20 %)
Figures 1(a) and 1(b) depict probability density functions.(Your answers to parts (b)-(d) must
be consistent with your answer to part(a))
(a) Determine constants and such that p1 (x) and p2 (x) are valid probability density
functions.
=
and
E {y} =
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
(d) Sketch the cumulative distribution function corresponding to the probability density
function, p2 (x), over the range 12 < x < 23 . Clearly, label important details in your plot.
P2 (x)
12
1
2
3
2
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
p0 (x)
p1 (x)
1
4
1
2
3
4
1
4
(a)
1
2
3
4
(b)
Figure 2: PDFs for Question 2. Note that gures are not necessarily to scale.
Question 2 (30 %)
Figures 2(a) and 2(b) depict class-conditional probability density functions.
This question concerns the binary hypothesis test where:
H0 : x p0 (x)
H1 : x p1 (x)
(a) Determine the minimum value of P0 such that the decision rule would be to always assign
a measurement x to H0 .
min P0 =
(b) Determine the minimum value of P1 such that the decision rule would be to always assign
a measurement x to H1 .
min P1 =
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
(c) Given P1 = 12 , a 1-nearest neighbor classier rule based on a set of labeled samples results
in the following decision rule:
decision rule
choose H1
choose H0
1
4
1
2
3
4
PD =
PE =
(d) Consider the decision rule that is the reverse of part (c). That is, it chooses H0 when the
decision rule of part (c) chooses H1 and chooses H1 when the decision rule of part (c)
chooses H0 , compute:
PF A =
PD =
PE =
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
(e) On the plot provided, sketch the optimal decision rule. Assume P1 =
1
. Be sure to clearly
2
decision rule
choose H1
choose H0
1
For the optimal decision rule compute:
PF A =
PD =
PE =
(f) On the plot provided, sketch the posterior probability of H0 as a function of x. Assume
P1 = 1
P r {H0 |x}
1
1
2
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
y1 [n]
y2 [n]
w1 [n]
w2 [n]
x[n]
yN [n]
wN [n]
Question 3 (20 %)
Figures 3 depicts a system block diagram for the set of random processes for which:
yi [n] = x[n] +
wk [n]
k=1
where
x[n] is a zero-mean WSS random process with autocorrelation function Rx [m].
wi [n]s are zero-mean white noise sequences with < wi [n]2 >= 12 .
wi [n]s are uncorrelated with each other and with x[n].
Using the information given, nd expressions for the following:
Rxy2 [m] =
RxyN [m] =
Ry2 [m] =
RyN [m] =
(y10 [n]
y5 [n])2 =
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
y[n]
L(f )
r[n]
G(f )
v[n]
H(f )
x[n]
K(f )
v[n] r[n]
z[n]
M (f )
t[n]
w[n]
y[n] z[n]
Question 4 (30 %)
All parts of Question 4 refer to the system block diagram of Figure 4.
H(f ), G(f ) are stable linear shift-invariant lters.
H(f ), G(f ) are real-valued with H(f ), G(f ) > 0 for all f .
H(f ) = H(f ), G(f ) = G(f ).
y[n] is a zero-mean WSS random process with autocorrelation function Ry [m].
w[n] is a zero-mean white noise sequence with < w[n]2 >= 2.
y[n] and w[n] are uncorrelated with each other.
(a) Using the information given, determine L(f ) such that < (r[n] v[n])2 > is minimized.
L(f ) =
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
(b) Using the information given, determine K(f ) such that < (y[n] z[n])2 > is minimized.
K(f ) =
(c) Given the optimal K(f ) from part (b), suppose you wish to design M (f ) to minimize
< (v[n] t[n])2 >. Will M (f ) differ from L(f ) designed in part (a)?
(circle one)
YES
NO
Cite as: Julie Greenberg, Bertrand Delgutte, William (Sandy) Wells, John Fisher, and Gari Clifford. Course materials
for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].