% Q is an Nx4 matrix of quaternions. weights is an Nx1 vector, a weight for each quaternion.
% Qavg is the weightedaverage quaternion
% Markley, F. Landis, Yang Cheng, John Lucas Crassidis, and Yaakov Oshman.
% “Averaging quaternions.” Journal of Guidance, Control, and Dynamics 30,
% no. 4 (2007): 1193-1197.
function [Qavg] = quatWAvgMarkley(Q, weights)
% Form the symmetric accumulator matrix
M = zeros(4, 4);
n =
四元素求均值
最新推荐文章于 2021-11-21 16:12:04 发布
本文详细介绍了如何计算四个数值的平均值,包括步骤和公式,适用于数据分析和基本数学运算。通过实例解析,理解并掌握四元素求均值的过程,提升基础计算能力。
摘要由CSDN通过智能技术生成