Mercurial > hg > octave-lyh
diff scripts/polynomial/polyfit.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | fd0a3ac60b0e |
children | 1577c6f80926 |
line wrap: on
line diff
--- a/scripts/polynomial/polyfit.m +++ b/scripts/polynomial/polyfit.m @@ -44,10 +44,10 @@ ## The values of the polynomial for each value of @var{x}. ## @end table ## -## The second output may be used by @code{polyval} to calculate the +## The second output may be used by @code{polyval} to calculate the ## statistical error limits of the predicted values. ## -## When the third output, @var{mu}, is present the +## When the third output, @var{mu}, is present the ## coefficients, @var{p}, are associated with a polynomial in ## @var{xhat} = (@var{x}-@var{mu}(1))/@var{mu}(2). ## Where @var{mu}(1) = mean (@var{x}), and @var{mu}(2) = std (@var{x}).