Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Spire.PDF for Java 2.7.8
Database Workbench Pro 5.6.10.0
The C# PDF Library 2020.1.5
CAD-Viewer 3DVBVIEW V4
dotConnect for SQLite 5.15
LuaStudio 9.92
EntityDAC 2.3
Devart ODBC Driver for QuickBooks 2.0
phpEnter 5.1.
Udemy Clone script 2.01
VisualNEO Web 19.11.7
VisualNEO for Windows 19.4.29.0
SentiVeillance SDK Trial 7.3
Devart ODBC Driver for PostgreSQL 3.2
SecureBridge 9.2
Top Code
SecureBridge 8.0
dotConnect for SQLite 5.9
ATN Site Builder 3.0
Database Workbench Pro 5.6.10.0
EntityDAC 1.6
ATN Resume Finder 2.0
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
The C# PDF Library 1.0
Devart ODBC Driver for PostgreSQL 3.2
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
ADO.NET Provider for ExactTarget 1.0
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Estimation and Simulation of State Space (Kalman Filter) Models with Matlab 1.0
File ID: 79166






Estimation and Simulation of State Space (Kalman Filter) Models with Matlab 1.0
Download Estimation and Simulation of State Space (Kalman Filter) Models with Matlab 1.0http://www.mathworks.comReport Error Link
License: Freeware
File Size: 41.0 KB
Downloads: 44
Submit Rating:
Estimation and Simulation of State Space (Kalman Filter) Models with Matlab 1.0 Description
Description: This toolbox was designed to simulate and fit linear state space models.

The main literature I used for this particular package is Kim and Nelson (1999).

A state space model (without non stochastic coefficients) is given by:

y(t)=beta(t)*x(t)'+e(t)
beta(t)=u+F*beta(t-1)+v(t)

e(t)~N(0,R)
v(t)~N(0,Q)

Where x(t) is a vector of size (1,k), beta(t), u and v(t) are vectors with size [1,k] and F, Q are matrices of size [k,k]. More details about the model can be found at the reference.

The main advantage of this package is that the fitting function lets you build your own state space model by changing the input option optionsSpec. Please check the pdf document and the example scripts at the zip file for instructions of how to use it.

Some comments about the fitting code:

d-deD? So far it doesnd-deOaot handle autoregressive processes between series of the beta matrix. In other works, at the F matrix, the only estimated coefficients are in the diagonal (all non diagonal elements are zero).

d-deD? The model is estimated by Gaussian maximum likelihood with the function fminsearch. I also played around with fminunc(), but there was no improvement over fminsearch when it comes to robustness and speed.

d-deD? So far the code doesnd-deOaot handle state space models with mixture of non stochastic and stochastic coefficients, that is, when you want some variables to have stochastic coefficients and others not in the same model.

References
KIM, C., J., NELSON, C., R. (1999) d-deDUState Space Model with Regime Switching: Classical and Gibbs-Sampling Approaches with Applicationsd-deDt The MIT press.

_______________

[simSpec_Out]=kalmanSim(nr,Coeff)

Function for Simulation of a State Space Model

INPUT:
nr - number of observations to be simulated
Coeff - Coefficients of the model (check Example_Script_1_Sim for
instructions of how to use this input)

OUTPUT:
simSpec_Out - A structure with the simulated state space series
and also the simulated regressors

_______________

[specOut]=kalmanFit(dep,indep,optionsSpec)

Function for Estimation of a state space model by means of kalman filter

INPUT:
dep - dependent variable

indep - independent variable with regressor (aka independent variables)

optionsSpec - (optional, default='e'). A options structure for defining your own state space model. Please check the pdf document in the zip file for instruction of how to use. The script Example_Script_2_kalmanFit.m also shows that.

OUTPUT:
specOut - A structure with the coefficients, final log likelihood,
latent variables, among other things.

License: Freeware

Related: approaches, Applications, gibbssampling, classical, regime, switching, press simspec dkalmansimnrcoefffunction, Simulation, observations, simulated, Number, modelinput, state, Model, Space, robustness, Improvement

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 41.0 KB

Downloads: 44



More Similar Code

This submission includes functions and scripts for the estimation and simulation of ACD (autoregressive conditional duration) models.

The zip file includes:

- Scripts and functions for Estimation of an ACD(q,p) model with exponential or weibull distribution
- Scripts and functions for Simulation of an ACD(q,p) model with exponential or weibull distribution
- Scripts for cool plots/movies of weibull, burr and...



Matlab worksheets for the synthesis and simulation of 2nd, 3rd, and 4th order systems using passive loop filters. The method employed is derived from Dean Banerjee's Book "PLL Performance, Simulation, and Design" 4th Edition.



This GUI can be used to analze control systems in time domain, in frequency domain and using using state space analysis techniques. It also provides an additonal feature of designing a second order system in state space design using pole placement...



hi,
I want to track object using kalman filter as real time..
not I connect my webcam and I have kalman filter code in matlab...
the kalman filter code is working while the system is not real time..
I mean when I appled the...



The DEVS/OSGi Simulation Framework can be used for the implementation and simulation of discrete event models based on the Discrete Event System Specification (DEVS).



The main objective of the tool is to provide better program support for design and simulation of nonlinear control systems in MATLAB/Simulink environment. It is encapsulated as a Simulink library, although besides function blocks designed for...



Relief Valve Dynamics
Modeling and Simulation of a Hydraulic Relief Valve
The attached file presents a simulation of a direct-operated hydraulic relief valve with built-in damper. The study of the valve included the following:



Neural Network Based Control System Design Toolkit Version 2

The NNCTRL toolkit is a set of tools for design and simulation of control systems based on neural networks. The following designs are available:

o Direct inverse...



Analysis and simulation of orbits in the circular-restricted three-body problem (CRTBP), where primary and secondary bodies move in circular orbits about the common center of mass, and effect of gravitational attraction of the smallest body are...



DEVSclipse extends the DEVS/OSGi Simulation Framework with Eclipse IDE extensions for the implementation and simulation of DEVS models.

User Review for Estimation and Simulation of State Space (Kalman Filter) Models with Matlab
- required fields
     

Please enter text on the image