//-------------------------------------------------------------------//
//
//  Syntax:     min2 ( A, B )

//  Description:

//  Return a matrix the same size as A and B with the smallest
//  elements taken from A and B.

//  Note: the builtin function min now handles this condition.
//        This file is maintained for backward compatibility.
//-------------------------------------------------------------------//

min2 = function(a,b)
{
  return min(a,b);  
  // return (b+(a-b).*(a<b));
};
