rhodtenu.m

来自「Kalman Filtering Theory and Practice, Us」· M 代码 · 共 15 行

M
15
字号
function H = rhodtenu(rho)
%
% calcuates the partial derivative matrix of
% the time-derivative of the rotation vector
% rotating ENU coordinates to RPY coordinates
% with respect to inertial rates of the ENU coordinates
%
theta = norm(rho);
if abs(theta) < 1e-5
   H = -eye(3);
else
   u = rho/theta;
   H = -u*u' - (theta*sin(theta))/(2*(1-cos(theta)))*(eye(3) - u*u') + (theta/2)*[0,-u(3),u(2);u(3),0,-u(1);-u(2),u(1),0];
end;

⌨️ 快捷键说明

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