资源简介
代码为书籍《卡尔曼滤波原理及应用》配套的代码,可用于卡尔曼滤波的学习
代码片段和文件信息
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% S函数模版
% 详细原理介绍及中文注释请参考:
% 《卡尔曼滤波原理及应用-MATLAB仿真》,电子工业出版社,黄小平著。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [sysx0strts] = sfuntmpl(txuflag)
switch flag
case 0
[sysx0strts]=mdlInitializeSizes;
case 1
sys=mdlDerivatives(txu);
case 2
sys=mdlUpdate(txu);
case 3
sys=mdlOutputs(txu);
case 4
sys=mdlGetTimeOfNextVarHit(txu);
case 9
sys=mdlTerminate(txu);
otherwise
error([‘Unhandled flag = ‘num2str(flag)]);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [sysx0strts]=mdlInitializeSizes
sizes = simsizes;
sizes.NumContStates = 0;
sizes.NumDiscStates = 0;
sizes.NumOutputs = 0;
sizes.NumInputs = 0;
sizes.DirFeedthrough = 1;
sizes.NumSampleTimes = 1;
sys = simsizes(sizes);
x0 = [];
str = [];
ts = [0 0];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function sys=mdlDerivatives(txu)
sys = [];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function sys=mdlUpdate(txu)
sys = [];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function sys=mdlOutputs(txu)
sys = [];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function sys=mdlGetTimeOfNextVarHit(txu)
sampleTime = 1;
sys = t + sampleTime;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function sys=mdlTerminate(txu)
sys = [];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5183 2015-07-11 11:57 第六章\ImmKalman.m
文件 1802 2015-06-25 18:43 第七章\7.2.1\sfuntmpl.m
文件 17873 2014-06-08 09:56 第七章\7.3.1\DistanceMessurement.mdl
文件 2001 2015-07-11 14:37 第七章\7.3.1\SimuKalmanFilter.m
文件 1203 2015-06-25 18:55 第七章\7.3.3\DeviationAnalysis.m
文件 1906 2015-07-11 14:46 第七章\7.3.3\KalmanFilter.m
文件 1535 2015-06-25 18:47 第七章\7.3.3\SimuStateFunction.m
文件 27157 2014-06-09 16:25 第七章\7.3.3\System_TargetTracking_KF_Simulation.mdl
文件 174 2015-07-11 14:46 第七章\7.3.3\Xkalman.mat
文件 224 2015-07-11 14:46 第七章\7.3.3\Xstate.mat
文件 171 2015-07-11 14:46 第七章\7.3.3\Zobserv.mat
文件 1188 2015-06-25 18:55 第七章\7.4.1\DataAnalysis.m
文件 1957 2015-07-11 14:50 第七章\7.4.1\EKF.m
文件 71 2015-06-25 18:49 第七章\7.4.1\ffun.m
文件 1358 2015-06-25 18:50 第七章\7.4.1\GetDistanceFunction.m
文件 67 2015-06-25 18:50 第七章\7.4.1\hfun.m
文件 1383 2015-06-25 18:50 第七章\7.4.1\SimuStateFunction.m
文件 23484 2014-06-16 14:19 第七章\7.4.1\System_TargetTracking_EKF_Simulation.mdl
文件 1190 2015-06-25 18:55 第七章\7.4.2\DataAnalysis.m
文件 71 2015-06-25 18:55 第七章\7.4.2\ffun.m
文件 1399 2015-06-25 18:52 第七章\7.4.2\GetDistanceFunction.m
文件 66 2015-06-25 18:52 第七章\7.4.2\hfun.m
文件 1476 2015-06-25 18:55 第七章\7.4.2\SimuStateFunction.m
文件 23484 2014-06-16 14:17 第七章\7.4.2\System_TargetTracking_UKF_Simulation.mdl
文件 3216 2015-07-11 14:52 第七章\7.4.2\UKF.m
文件 198 2015-07-11 14:52 第七章\7.4.2\Xstate.mat
文件 177 2015-07-11 14:52 第七章\7.4.2\Xukf.mat
文件 184 2015-07-11 14:52 第七章\7.4.2\Zdist.mat
文件 1753 2015-07-11 10:43 第三章\3.2.2\main.m
文件 1751 2015-07-11 10:45 第三章\3.3.2\main.m
............此处省略189个文件信息
相关资源
- 现代通信系统第二版MATLAB版) 包括全
- 稀疏编码matlab 教程
- 系统辨识资料大全(matlab系统辨识工
- 化学计量学方法及MATLAB实现
- MATLAB Neural Network Toolbox官方教程
- Inverse Synthetic Aperture Radar Imaging with
- matlab GUI设计
- 雷达压制干扰matlab程序
- 系统辨识,使用者的理论
- MATLAB仿真林飞、杜欣编著.pdf
- 基于HMM的语音识别MATLAB代码
- 关于均衡的MATLAB程序合集
- 数字滤波器的MATLAB与FPGA实现代码
- 滑模变结构控制MATLAB仿真 第3版 基本
- Matlab火焰烟雾检测(GUI)
- 帧间差分法matlab
- Matlab MPT工具箱 MPT3.2.1 (2019更新 稳
- 《模式识别与智能计算的MATLAB实现》
- 基于sift和SVM算法实现的手势识别 MA
- 数字图像处理第三版冈萨雷斯英文附
- 《精通MATLAB图像处理》全书pdf高清完
- 斯坦福机器学习公开课CS229讲义作业及
- MATLAB神经网络30个案例分析(高清版)
-
微网运行控制simuli
nk仿真,包含逆变 - MATLAB数据分析方法
- MATLAB图像处理:能力提高与应用案例
- MATLAB.Programming.for.Engineers.5th.Edition_2
- 卷积神经网络的matlab程序
- MATLAB优化算法案例分析与应用_进阶篇
- 精通MATLAB数字图像处理与识别书本代
评论
共有 条评论