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

📄 fixinfds.m

📁 递归贝叶斯估计的工具包
💻 M
字号:
function InferenceDS = fixinfds(InferenceDS)% FIXINFDS  Fix a user generated ("hand rolled") inference data structure to make sure it meets%           the consistency requirements of all ReBEL inference algorithms. This function will not%           clobber any predefined fields, it will however check for consistency and add other%           required fields to InferenceDS that the user has not defined, or for which the default%           settings are required.%%   InferenceDS = fixinfds(InferenceDS)%%   INPUT%          InferenceDS        ReBEL inference data structure that has been "hand-rolled", i.e%                             directly defined by the user and not generated by using GENINFDS.%                             This data structure might not be completely consistent.%%   OUTPUT%          InferenceDS%%   SEE ALSO%     GENINFDS, examples/gssm/INFDS_TRAIN_NN, examples/parameter_estimation/DEMPE2%%   Copyright  (c) Rudolph van der Merwe (2002)%%   This file is part of the ReBEL Toolkit. The ReBEL Toolkit is available free for%   academic use only (see included license file) and can be obtained by contacting%   rvdmerwe@ece.ogi.edu.  Businesses wishing to obtain a copy of the software should%   contact ericwan@ece.ogi.edu for commercial licensing information.%%   See LICENSE (which should be part of the main toolkit distribution) for more%   detail.%===================================================================================================%--- Add some needed fields with default values that the user either forgot to add, or intentionally%--- left blank in order to set default values:if ~isfield(InferenceDS.type)  InferenceDS.type = 'InferenceDS';endif ~isfield(InferenceDS,'stateAngleCompIdxVec')  InferenceDS.stateAngleCompIdxVec = [];endif ~isfield(InferenceDS,'obsAngleCompIdxVec')  InferenceDS.obsAngleCompIdxVec = [];endconsistent(InferenceDS,'InferenceDS');

⌨️ 快捷键说明

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