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

  The length of hose is 275 feet and the system is to be

a system for delivering lawn fertilizer in liquid form. the nozzle on the end of the hose requires 20 psig of pressure

  Explore the design of a recursive digital filter

In this simulation we are going to explore the design of a recursive digital filter which might be usedvin a digital radio station. The sampling frequency used in digital radio (DAB) is either 48 kHz or 24 kHz and for the purposes of this simulation,

  Find the mean stress level of the sample

Find the Mean stress level of the sample - find the Median stress level of the sample and find the Mode of the stress level for the students

  Write a matlab program to multiply two matrices

Write a MATLAB program to multiply two matrices together. Do not use the MATLAB matrix multiplication function, A*B.

  Construct a commutated dc motor to drive a load

Construct a commutated DC motor to drive a load, simulated by a generator placed on the output shaft of your motor. You may use any readily available materials - characteristic for the different field densities created by the different permanent ma..

  Create a project to detect the iris and pupil

Create a Project to do the following: Detect the Iris and pupil, Measure the location "Centroid" of iris/pupil and Measure the diameter of the iris and pupil.

  Damped harmonic oscillator

Some systems show a marked change in behavior as parameters change. For example, a damped harmonic oscillator with exhibit over damped, under damped, or critically damped behavior depending on the values of mass, spring constant, and damping const..

  Write a function that will convert from kw to hp and and

problem engineers use both english and si units on a regular basis. here are some conversions factors for various

  Finds the largest integer in the list recursively

Write a program that, given a list of 20 integers, finds the largest integer in the list recursively

  Find the roots using matlab built-in functions roots & fzero

the following equation, what is the modified equation for a fixed-point iteration method. The roots of the function are x = -2.2020235, -0.4088152, and 1.11083871, how would you determine whether or not the method will converge on a root? If the tech..

  Find out root of function by bisection method in matlab

To find out root of any given function by Bisection method in MATLAB.

  Describe how you would access these 4 members

Create a namespace titled global Type that contains four members. The members should be two named constants, n and rate. It should also contain a variable count and the function printResult. Describe how you would access these 4 members in a progr..

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