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

📄 inv_pseudo.m

📁 This a collection of MATLAB functions for extended Kalman filtering, unscented Kalman filtering, par
💻 M
字号:
function B = inv_pseudo(A)
%function B = inv_pseudo(A)
%
% The Moore-Penrose pseudo-inverse (or generalised inverse). 
%
% Computes B such that B*A = I. (Note, A*B will not equal I, in general, 
% unless A is invertible.) Commonly used to solve to over-constrained
% systems of the form, A*x = c, in the least-squares sense, x = B*c.
%
% Tim Bailey 2007.

B = (A'*A)\A'; % or B = inv(A'*A)*A';

⌨️ 快捷键说明

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