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

📄 inv_posdef.m

📁 This a collection of MATLAB functions for extended Kalman filtering, unscented Kalman filtering, par
💻 M
字号:
function Pinv = inv_posdef(P)
%function Pinv = inv_posdef(P)
%
% Invert a positive definite matrix P. More numerically stable than Pinv = inv(P)
% and result is guaranteed to remain symmetric.
% Adapted from INV_POSDEF.m of the Lightspeed library by Minka.
%
% Tim Bailey 2005.

Pc = chol(P);
Pci = inv(Pc);
Pinv = Pci*Pci';

⌨️ 快捷键说明

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