⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filterini1.m

📁 Yaakov Bar-Shalom, X.-Rong Li,Thiagalingam Kirubarajan - Estimation with Applications to Tracking an
💻 M
字号:
%%% DynaEst 3.032 12/31/2000
% Copyright (c) 2000 Yaakov Bar-Shalom
%
% Filter Initialize 1 % Filter Parameters 

h_HeadTitle = uicontrol('Parent',h_CommonWindow, ...
      'Units','points', ...
      'HorizontalAlignment','left', ...
      'ListboxTop',0, ...
      'Position',[1.1/12*cwsz(3) 9.3/10*cwsz(4) cwsz(3)/2 10], ...
      'BackgroundColor',FrameBackColor, ...
      'Style','text', ...
      'String','Tracker parameters:',...  
	'FontWeight', 'bold', ...
      'Tag','StaticText2');

h_Text1 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'HorizontalAlignment','right', ...
  	'BackgroundColor',FrameBackColor, ...
	'ListboxTop',0, ...
    'Position',[fwsz(1)+fwsz(3)/10 fwsz(2)+fwsz(4)*8.2/10 fwsz(3)*0.6 15], ...
    'String','Dimension of state vector, nx =', ...
	'Style','text', ...
	'Tag','StaticText1');
h_Edit1 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
    'Position',[fwsz(1)+fwsz(3)*0.72 fwsz(2)+fwsz(4)*(8.2/10) fwsz(3)*0.12 15], ...
	'String','4', ...
	'Style','edit', ...
	'Tag','EditText2');
h_Text2 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
   'HorizontalAlignment','right', ...
   'BackgroundColor',FrameBackColor, ...
	'ListboxTop',0, ...
    'Position',[fwsz(1)+fwsz(3)/10 fwsz(2)+fwsz(4)*(8.2/10-1/6.5) fwsz(3)*0.6 15], ...
	'String','Dimension of process noise vector, nv =', ...
	'Style','text', ...
   'Tag','StaticText1');
h_Edit2 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
    'Position',[fwsz(1)+fwsz(3)*0.72 fwsz(2)+fwsz(4)*(8.2/10-1/6.5) fwsz(3)*0.12 15], ...
    'String','2', ...
	'Style','edit', ...
	'Tag','EditText2');
h_Text3 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
    'Position',[fwsz(1)+fwsz(3)/10 fwsz(2)+fwsz(4)*(8.2/10-2/6.5) fwsz(3)*0.6 15], ...
    'BackgroundColor',FrameBackColor, ...
	'String','Dimension of measurement vector, nz =', ...
	'Style','text', ...
	'Tag','StaticText1');
h_Edit3 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
    'Position',[fwsz(1)+fwsz(3)*0.72 fwsz(2)+fwsz(4)*(8.2/10-2/6.5) fwsz(3)*0.12 15], ...
	'String','2', ...
	'Style','edit', ...
	'Tag','EditText2');
h_Text4 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'HorizontalAlignment','right', ...
   'ListboxTop',0, ...
   'BackgroundColor',FrameBackColor, ...
    'Position',[fwsz(1)+fwsz(3)/20 fwsz(2)+fwsz(4)*(8.2/10-3/6.5) fwsz(3)*0.65 15], ...
	'String','Dimension of measurement noise vector, nw =', ...
	'Style','text', ...
	'Tag','StaticText1');
h_Edit4 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
    'Position',[fwsz(1)+fwsz(3)*0.72 fwsz(2)+fwsz(4)*(8.2/10-3/6.5) fwsz(3)*0.12 15], ...
	'String','2', ...
	'Style','edit', ...
   'Tag','EditText2');

h_Text5 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'HorizontalAlignment','right', ...
   'ListboxTop',0, ...
   'BackgroundColor',FrameBackColor, ...
   'Position',[fwsz(1)+fwsz(3)/10 fwsz(2)+fwsz(4)*(8.2/10-4/6.5) fwsz(3)*0.6 15], ...
   'String','Dimension of geometry, ncoor =',...
	'Style','text', ...
	'Tag','StaticText1');

h_Edit5 = uicontrol('Parent',h_CommonWindow, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
    'Position',[fwsz(1)+fwsz(3)*0.72 fwsz(2)+fwsz(4)*(8.2/10-4/6.5) fwsz(3)*0.12 15], ...
	'String','2', ...
	'Style','edit', ...
	'Tag','EditText2');

set(h_Edit1,'string',num2str(nxf)); 
set(h_Edit2,'string',num2str(nvf));  
set(h_Edit3,'string',num2str(nzf)); 
set(h_Edit4,'string',num2str(nwf));  
set(h_Edit5,'string',num2str(ncoor));  

switch SimulationFlag
case {1,2}
   set(h_Edit1,'Enable','Off')
   set(h_Edit2,'Enable','Off')
   set(h_Edit3,'Enable','Off')
   set(h_Edit4,'Enable','Off')
   set(h_Edit5,'Enable','Off')
case 3
   set(h_Edit1,'Enable','Off'); 
   set(h_Edit5,'Enable','Off')
case 4
   set(h_Edit3,'Enable','Off'); 
end


help_string=['In this window, you can define the parameters for tracking filter.',...
      ' You can redefine only if you use the external measurement.',...
      ' Otherwise, the parameters will be same to the system model parameters defined previously.',...
      char(10), char(10), 'Press ''Next >>'' when done to go to the next step. Press ''<< Prev'' to go back to the previous step. Press ''Close'' to abort the project definition.'];

set(h_About,'String',help_string, 'enable', 'inactive');



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -