='</span> num2str(H*dt) <span class="string">' sec'</span>], <span class="keyword">...</span>
      [<span class="string">'total experience (after this trial): '</span> num2str(dt*size(x,1)) <span class="keyword">...</span>
      <span class="string">' sec'</span>], M{j}(:,r), Sigma{j}(:,:,r));
  <span class="keyword">else</span>
    draw_pendubot(latent{jj}(r,3), latent{jj}(r,4), latent{jj}(r,end), cost, <span class="keyword">...</span>
      [<span class="string">'(random) trial # '</span> num2str(jj) <sp