Docsity

EE640 Stochastic Systems Project 1 Analysis Instructions, Exams of Mechanical Engineering

Toggle sidebar
bg1
EE640 STOCHASTIC SYSTEMS
Spring, 2006
COMPUTER PROJECT 1
PART B: ANAYLYSIS (April 5, 2006)
1. Generate independent identically distributed test vectors. The target vectors are:
tII D1=g1+ 3
tII D2=g2+ 3 (1)
tII D3=g3+ 3
and the clutter vectors are:
cIID1=g4+ 1
cIID2=g5+ 1 (2)
cIID3=g6+ 1
2. Histogram: Design a program, or use the MATLAB function hist.m, that will estimate
the histogram of an N×1 vector of random numbers. Have the program use specified
Mbin intervals. Run the program and plot for:
PlotB-1 u1,g1histogram
PlotB-2 s1,s2,s3,s4,s5histogram
PlotB-1 tII D1,cII D1histogram
PlotB-1 tII D2,cII D2histogram
PlotB-1 tII D3,cII D3histogram
PlotB-1 sintensity histogram
3. Perform tasks 2 and 3 from Project 1S and show graphs.
4. Covariance estimate: estimate covariance matrices (3 ×3)
KtII D from tIID1, tIID 2, tII D3
KcII D from cIID1, cIID 2, cIID3
(In some context, this is called the correlation matrix) i.e.
K(m, n) = 1
(N−1) ³xm−µm´T³xn−µn´(3)
where µmis an N×1 vector with all elements equal to the mean value of the vector
xmand K(m, n) is the mth,nth element of the matrix K.
1
pf3

Partial preview of the text

Download EE640 Stochastic Systems Project 1 Analysis Instructions and more Exams Mechanical Engineering in PDF only on Docsity!

EE640 STOCHASTIC SYSTEMS

Spring, 2006 COMPUTER PROJECT 1

PART B: ANAYLYSIS (April 5, 2006)

  1. Generate independent identically distributed test vectors. The target vectors are:

tIID 1 = g 1 + 3 tIID 2 = g 2 + 3 (1) tIID 3 = g 3 + 3

and the clutter vectors are:

cIID 1 = g 4 + 1 cIID 2 = g 5 + 1 (2) cIID 3 = g 6 + 1

  1. Histogram: Design a program, or use the MATLAB function hist.m, that will estimate the histogram of an N × 1 vector of random numbers. Have the program use specified M bin intervals. Run the program and plot for:

PlotB-1 u 1 , g 1 histogram PlotB-2 s 1 , s 2 , s 3 , s 4 , s 5 histogram PlotB-1 tIID 1 , cIID 1 histogram PlotB-1 tIID 2 , cIID 2 histogram PlotB-1 tIID 3 , cIID 3 histogram PlotB-1 sintensity histogram

  1. Perform tasks 2 and 3 from Project 1S and show graphs.
  2. Covariance estimate: estimate covariance matrices (3 × 3)

KtIID from tIID 1 , tIID 2 , tIID 3 KcIID from cIID 1 , cIID 2 , cIID 3

(In some context, this is called the correlation matrix) i.e.

K(m, n) =

(N − 1)

xm − μm

)T (

xn − μn

where μm is an N × 1 vector with all elements equal to the mean value of the vector xm and K(m, n) is the mth, nth^ element of the matrix K.

  1. Estimate mean vectors (3 × 1) from

tIID 1 , tIID 2 , tIID 3 , (4)

such that

μt =

μt, 1 μt, 2 μt, 3

likewise for clutter, use cIID 1 , cIID 2 , cIID 3 , (6) to generate

μc =

μc, 1 μc, 2 μc, 3

  1. Repeat step 4 and 5 for the noisy image responses defined in item 6 of project 1A. The responses should be from type 0 LPCCF, order k = 1, 2 and 3 filters. Note that lexicographic form is used such that the covariance matrix is 3 × 3.
  2. Determine the peak element locations, the centroid element locations of the his- tograms of bbinary and sintensity. The centroid is determined by “simulating” a pdf. For example, lt x[n] be a sequence and you want to approximate E{x[n]}. Let h(x) be the histogram of x[n]. First, form a pseudo pdf as

fx(x) = h(x) ∑^ M m=

h[m]

where m is the bin number of a total M bins in the histogram. The value of h(x) returns the bin value that contain the value of x. The centroid is then

μx =

∑^ N

n=

x[n]fx(x[n]) (9)

Determine the time averages of bbinary and sintensity and compare with the centroid averages. The should be close. Optional Method: A conceptually easier technique for implementing the centroid is the following: The approach will first get the fractional value of the estimated bin number. Then that value is linearly mapped to the x dimension. Given your bin numbers for the histograms h[m] are equally spaced and vary from 1 to M. We can map bin values to signal values with xmin = a ∗ 1 + b and xmax = a ∗ M + b. So a = (xmax − xmin)/(M − 1) and b = xmin − a. The value xmax and xmin are the center values associated with the end bins. So we find the centroid

fm(m) =

h[m] ∑^ M m=

h[m]