% Frame to use for calibration</span>
0097 real_markers_calib=struct;
0098 <span class="keyword">for</span> i=1:numel(real_markers)
0099     real_markers_calib(i).name=real_markers(i).name;
0100     real_markers_calib(i).position=real_markers(i).position(frame_calib,:);
0101 <span class="keyword">end</span>
0102 
0103 <span class="comment">%% Root position</span>
0104 Base_position=cell(nb_frame,1);
0105 Base_rotation=cell(nb_frame,1);
0106 <span class="keyword">for</span> i=1:nb_frame
0107     Base_positio