Mercurial > hg > octave-nkf
diff scripts/polynomial/polyfit.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | 693e22af08ae |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/polynomial/polyfit.m +++ b/scripts/polynomial/polyfit.m @@ -74,11 +74,11 @@ endif if (! size_equal (x, y)) - error ("polyfit: x and y must be vectors of the same size"); + error ("polyfit: X and Y must be vectors of the same size"); endif if (! (isscalar (n) && n >= 0 && ! isinf (n) && n == round (n))) - error ("polyfit: n must be a nonnegative integer"); + error ("polyfit: N must be a nonnegative integer"); endif y_is_row_vector = (rows (y) == 1);