ng></div>

<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
<div class="box"><strong>function [rx, ry, rz] = csrotation(X,Y,Z,phi) </strong></div>

<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
<div class="fragment"><pre class="comment"> This function rotates an entrire matrix by the angle phi (in radians). 
 The output are the new vector head coordinates for each element in the 
 matri