Function x gengaussmunigman 4 the file prog1datmat on

This preview shows page 2 - 3 out of 3 pages.

function X = gengauss(mu,Nigma,N) 4. The file prog1dat.mat (on the class website) contains N 1000 data points representing measurements x 1 , x 2 , x 3 , x 4 from a four-dimensional physical system. Load the data into Matlab using the command load prog1dat A 4 1000 variable X will be created with the data in it. Suppose that x 1 5 and x 3 7 is measured. Determine the best estimate of the variables x 2 and x 4 . Explicitly state all the appropriate covariance and mean vectors, and how you obtain your estimates. 5. Continuing the previous problem,suppose that the variables x 1 , x 2 , and x 3 are available. Write a function predictx4 which will estimate the corresponding value of x 4 . The function should have the “declaration” 2
Image of page 2

Subscribe to view the full document.

function x4hat = predictx4(x1,x2,x3) (with possibly some other arguments as well). If x 1 3, x 2 3 . 6, x 3 5 . 2, what is the estimate of x 4 ? 6. Continuing the previous problem, let X ( 1 ) be obtained from the first two components of the four-dimensional data. Estimate 6 11 , the covariance matrix of X ( 1 ) , and μ ( 1 ) , the mean vector. Plot contours of the pdf of X ( 1 ) . The function plotellipse.m (on the class website) may be helpful. Compare the axes of the ellipses with the eigenvectors of 6 11 . What is the relationship? 3
Image of page 3
You've reached the end of this preview.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern