Write a matlab program to compute the kalman gain

Assignment Help MATLAB Programming
Reference no: EM131210622

Problem -

The state estimation equation in the discrete Kalman filter is

x^(n|n) = A(n - 1)x^(n - 1|n - 1) + K(n)[y(n) - C(n)A(n - 1)x^(n - 1|n - 1)]

Thus, given the state transition matrix A(n) and the observation matrix C(n), all that is required is the Kalman gain K(n). Since the Kalman gain does not depend upon the state x(n) or the observations y(n), the Kalman gain may be computed off-line prior to filtering.

(a) Write a MATLAB program gain.m to compute the Kalman gain K(n) for a stationary process with

x(n) = Ax(n - 1) + w(n)

y(n) = Cx(n) + v(n)

(b) Suppose that x(n) is a third-order autoregressive process

x(n) = -0.1x(n - 1) - 0.09x(n - 2) + 0.6413x(n - 3) + w(n)

where w(n) is unit variance white noise, and that the observations are

y(n) = x(n) + v(n)

where v(n) is white noise with a variance σv2 = 0.64. What initialization should you use for P(0|0)? Using this initialization, find the Kalman gain K(n) for n = 0 to n = 10.

(c) What is the steady-state value for the Kalman gain? How is it affected by the initialization P(0|0)?

(d) Generate the processes x(n) and y(n) in part (b) and use your Kalman filter to estimate x(n) from y(n). Plot your estimate and compare it to x(n).

Reference no: EM131210622

Questions Cloud

Create a new project named intermediate22 project : If necessary, create a new project named Intermediate22 Project. Enter your C++ instructions into a source fi le named Intermediate22.cpp. Also enter appropriate comments and any additional instructions required by the compiler.
Opportunity cost of attending the concert equals : Carl is considering attending a concert with a ticket price of $35. He estimates that the cost of driving to the concert and parking there will total an additional $20. In order to attend the concert, Carl will have to take time off from his part-..
After-tax holding-period return on the bond : a . Find the holding-period return for a 1-year investment period if the bond is selling at a yield to maturity of 6% by the end of the year. b. If you sell the bond after 1 year, what taxes will you owe if the tax rate on interest income is 35% ..
Discuss the elements of a good fraud report : What does it mean to create a "Culture of Honesty, Openness, and Assistance?" Give an example from an organization with which you have been affiliated.
Write a matlab program to compute the kalman gain : Write a MATLAB program gain.m to compute the Kalman gain K(n) for a stationary process with: x(n) = Ax(n - 1) + w(n)
Compounds the interest in daily basis : Suppose you borrow$10,000 for 1 year on your Visa at an annual interest rate of 25%. What effective annual yield (in percent) will you actually end up paying if Visa compounds the interest in daily basis?
Evaluate how your chosen aspect of diversity : Evaluate how your chosen aspect of diversity, in combination with two other aspects of diversity, can lead to increased needs or issues. For example, if someone is female, African American, and lesbian, will there be additional challenges? Select ..
What is the company asset beta : Johnson company has an equity beta of 1.5, the risk-free rate of return is 3.0 percent, the market return is 14.7 percent, and the pretax cost of debt is 9.4 percent. The debt-equity ratio is .47. If you apply the common beta assumptions, what is ..
Review the accounting treatment and prepare the report : Review the accounting treatment and prepare the report.- Report should be in letter format. -

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd