getPURPOSEGet function for EKF filters.
SYNOPSISfunction out=get(EKF,field)
DESCRIPTIONGet function for EKF filters. Retrives information from a Extended Kalman Filter The possible fields to retrive are: - Sigma: The covariance matrix. - Lambda: The inverse of Sigma. Expensive to compute! - mu: The mean. Besides this, all the fields of the generic filter. See also Filter/get. CROSS-REFERENCE INFORMATIONThis function calls:
SOURCE CODE0001 function out=get(EKF,field) 0002 % Get function for EKF filters. 0003 % 0004 % Retrives information from a Extended Kalman Filter 0005 % The possible fields to retrive are: 0006 % - Sigma: The covariance matrix. 0007 % - Lambda: The inverse of Sigma. Expensive to compute! 0008 % - mu: The mean. 0009 % 0010 % Besides this, all the fields of the generic filter. 0011 % 0012 % See also Filter/get. 0013 0014 switch field 0015 case 'Sigma' 0016 out=EKF.Sigma; 0017 case 'Lambda' 0018 ne=size(EKF); 0019 out=EKF.Sigma\eye(ne); 0020 case 'mu' 0021 out=EKF.mu; 0022 otherwise 0023 out=get(EKF.P_Filter,field); 0024 end 0025 |