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

//  Description:

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

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

//-------------------------------------------------------------------//

max2 = function(a,b)
{
  return max(a,b);
  // return (b+(a-b).*(a>b));
};
