function F = interp6(varargin)
%INTERP6 2-D Nearest neighbor interpolation.
%
%   See INTERP2.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 5.5 $  $Date: 1997/11/21 23:40:47 $

warning(sprintf(['INTERP6 is obsolete and will be eliminated in future' ...
    ' versions.\n         Please use INTERP2(...,''*nearest'') instead.']));

F = interp2(varargin{:},'*nearest');
