AMPLE - 1
  C = [0 0; 1 0; 0 1; 1 1]; x=[.7,.3; .1 .2];
  D = pdist2( x, C ), M = softMin( D, .25 )

 EXAMPLE - 2
  fplot( 'softMin( [0.5 0.2 .4], x )', [0 5] );
  xlabel('sigma'); ylabel('assignments')

 See also <a href="pdist2.html" class="code" title="function D = pdist2( X, Y, metric )">PDIST2</a>, SOFTMAX

 Piotr's Image&amp;Video Toolbox      Version 2.0
 Copyright 2008 Piotr Dollar.  [pdollar-at-caltech.edu]
 Please email me if you find bugs, or have suggestions or questions!
 Licensed 