atrix.</li></ul>
<!-- crossreference -->


<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function dists = pairdist(X,varargin)</a>
0002 <span class="comment">%PAIRDIST          Computes a pairwise Euclidean distance matrix.</span>
0003 <span class="comment">%   DISTS = PAIRDIST(X) returns a symmetric positive definite matrix DISTS</span>
0004 <span class="comm