Mercurial > octave-nkf
comparison scripts/general/interp1.m @ 19630:0e1f5a750d00
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:24:46 -0500 |
parents | 9464cfeede2b 446c46af4b42 |
children | db92e7e28e1f |
comparison
equal
deleted
inserted
replaced
19626:37d37297acf8 | 19630:0e1f5a750d00 |
---|---|
70 ## beyond the endpoints using the current @var{method}. If @var{extrap} is a | 70 ## beyond the endpoints using the current @var{method}. If @var{extrap} is a |
71 ## number, then replace values beyond the endpoints with that number. When | 71 ## number, then replace values beyond the endpoints with that number. When |
72 ## unspecified, @var{extrap} defaults to @code{NA}. | 72 ## unspecified, @var{extrap} defaults to @code{NA}. |
73 ## | 73 ## |
74 ## If the string argument @qcode{"pp"} is specified, then @var{xi} should not | 74 ## If the string argument @qcode{"pp"} is specified, then @var{xi} should not |
75 ## be supplied and @code{interp1} returns a piecewise polynomial object. This | 75 ## be supplied and @code{interp1} returns a piecewise polynomial object. This |
76 ## object can later be used with @code{ppval} to evaluate the interpolation. | 76 ## object can later be used with @code{ppval} to evaluate the interpolation. |
77 ## There is an equivalence, such that @code{ppval (interp1 (@var{x}, | 77 ## There is an equivalence, such that @code{ppval (interp1 (@var{x}, |
78 ## @var{y}, @var{method}, @qcode{"pp"}), @var{xi}) == interp1 (@var{x}, @var{y}, | 78 ## @var{y}, @var{method}, @qcode{"pp"}), @var{xi}) == interp1 (@var{x}, @var{y}, |
79 ## @var{xi}, @var{method}, @qcode{"extrap"})}. | 79 ## @var{xi}, @var{method}, @qcode{"extrap"})}. |
80 ## | 80 ## |