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

📄 rhodtrpy.m

📁 Kalman Filtering Theory and Practice, Using MATLAB
💻 M
字号:
function H = rhodtrpy(rho)
%
% calcuates the partial derivative matrix of
% the time-derivative of the rotation vector
% rotating ENU coordinates to RPY coordinates
% with respect to inertial body rates in RPY 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -