/up.png"></a></h2>
<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [R]=Rodrigues_from_two_axes(a1,a2)</a>
0002 <span class="comment">% Computation of the Rodrigues equation</span>
0003 <span class="comment">%</span>
0004 <span class="comment">%   INPUT 2 axes</span>
0005 <span class="comment">%    - a1 (3*1 array)</span>
0006 <span class="comment">%   - a2 (3*1 array)</span>
0007 <span class="comment">%   OUTPUT</span>
0008 <span class="comment">%   - R: rotation 