Write a matlab program to compute the kalman gain

Assignment Help MATLAB Programming
Reference no: EM131201231

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.648x(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 σ2v = 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 pan (b) and use your Kalman filter to estimate x(n) from y(n). Plot your estimate and compare it to x(n).

Reference no: EM131201231

Questions Cloud

Prepare scattergraph and plot tons mined and utilities cost : Determine a cost formula for utilities cost using the least squares regression method. - Prepare a scattergraph and plot the tons mined and utilities cost.
Nearest vending machine decreases : In Retireland, no one commutes to work, and everyone consumes a single good (food), which is imported from another region and can be purchased (one meal at a time) from the nearest vending machine. Alternatively, food can be delivered by a distant..
What requirement of section 351 do they violate : Which of the following scenarios will qualify under Section 351 as a nontaxable corporate formation?-  For those that do not qualify, what requirement of section 351 do they violate?
Find the rated torque rated volt amperes : A nameplate is given in Example 17.2. Find the rated torque, rated volt amperes, and maximum continuous output power for this motor.
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)
List keywords use to construct a computer tax research query : After completing your list of tax research issues, list the keywords you might use to construct a computer tax research query.
Which type of promotion would a firm focus on : Which of the following are personal informal exchanges of communication that customers share with one another about products, brands, and companies?
What are initial equilibrium wage rate and employment level : What are the initial equilibrium wage rate and employment level? Other things held constant, assume that the price of a substitute resource decreases. What will happen to demand for labor? Will it increase or decrease?
Prepare in general journal form the workpaper entries : Prepare in general journal form the workpaper entries necessary in the compilation of consolidated financial statements on December 31, 2017.

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