function  h = interpolation(varargin)
%INTERPOLATION Constructor for interpolation objects
%
%   Author(s): James G. Owen
%   Copyright 1986-2003 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:34:22 $

nargchk(0,1,nargin);
h = tsdata.interpolation;

if nargin>=1 && ischar(varargin{1}) 
   set(h,'fhandle',{@tsinterp varargin{1}},'Name',varargin{1});
end
