Home > freetb4matlab > splines > catmullrom.m

catmullrom

PURPOSE ^

% @deftypefn {Function File} {@var{pp}} = catmullrom( @var{x},@

SYNOPSIS ^

function pp = catmullrom(x,f,v)

DESCRIPTION ^

% -*- texinfo -*-
%  @deftypefn {Function File} {@var{pp}} = catmullrom( @var{x},@
%  @var{f}, @var{v}) 
%
% Returns the piecewise polynomial form of the Catmull-Rom cubic
% spline interpolating @var{f} at the points @var{x}.
% If the input @var{v} is supplied it will be interpreted as the
% values of the tangents at the extremals, if it is
% missing, the values will be computed from the data via one-sided
% finite difference formulas. See the wikipedia page for 'Cubic
% Hermite spline' for a description of the algorithm.
%
%  @seealso{ppval}
%  @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003