yes that's it , i use the Matlab implementation http://www.openshoe.org/?page_id=362
function R=q2dcm(q)
p=zeros(6,1);
p(1:4)=q.^2;
p(5)=p(2)+p(3);
if p(1)+p(4)+p(5)~=0
p(6)=2/(p(1)+p(4)+p(5));
else
p(6)=0;
end
%[ 1-p(6)*p(5) p(6)-p(5) p(6)+p(5)
% p(6)+p(5)...
Summary:: Conversion from quaternion to DCM
Hi All ,
our teacher asked us to try to understand the openshoe Matlab library , i stagnate on function that convert the quaternion to DCM i have found many example on website but the description of matrix are diffrente that the one is used on...