• 大小: 58.3MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-12
  • 语言: 其他
  • 标签: 粒子滤波  强跟踪  

资源简介

卡尔曼 ,扩展卡尔曼,无迹卡尔曼,粒子,强跟踪等各种滤波方法代码,并配有论文

资源截图

代码片段和文件信息

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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 = [];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-09-07 16:23  各种基本滤波算\
     目录           0  2018-09-07 16:23  各种基本滤波算\卡尔曼滤波程序\
     文件      107125  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\《卡尔曼滤波原理及应用-MATLAB仿真》封面.jpg
     文件    31415427  2017-11-08 14:59  各种基本滤波算\卡尔曼滤波程序\卡尔曼滤波原理及应用仿真.pdf
     文件      653116  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\卡尔曼滤波原理及应用(简介).pdf
     目录           0  2018-09-07 16:23  各种基本滤波算\卡尔曼滤波程序\第一章\
     文件          85  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第一章\说明.txt
     目录           0  2018-09-07 16:23  各种基本滤波算\卡尔曼滤波程序\第七章\
     目录           0  2018-09-07 16:23  各种基本滤波算\卡尔曼滤波程序\第七章\7.2.1\
     文件        1802  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.2.1\sfuntmpl.m
     目录           0  2018-09-07 16:23  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.1\
     文件       17873  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.1\DistanceMessurement.mdl
     文件        2001  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.1\SimuKalmanFilter.m
     目录           0  2018-09-07 16:23  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.3\
     文件        1203  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.3\DeviationAnalysis.m
     文件        1906  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.3\KalmanFilter.m
     文件        1535  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.3\SimuStateFunction.m
     文件       27157  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.3\System_TargetTracking_KF_Simulation.mdl
     文件         174  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.3\Xkalman.mat
     文件         224  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.3\Xstate.mat
     文件         171  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.3.3\Zobserv.mat
     目录           0  2018-09-07 16:23  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.1\
     文件        1188  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.1\DataAnalysis.m
     文件        1957  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.1\EKF.m
     文件        1358  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.1\GetDistanceFunction.m
     文件        1383  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.1\SimuStateFunction.m
     文件       23484  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.1\System_TargetTracking_EKF_Simulation.mdl
     文件          71  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.1\ffun.m
     文件          67  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.1\hfun.m
     目录           0  2018-09-07 16:23  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.2\
     文件        1190  2016-08-03 17:42  各种基本滤波算\卡尔曼滤波程序\第七章\7.4.2\DataAnalysis.m
............此处省略203个文件信息

评论

共有 条评论