Mercurial > hg > octave-shane
changeset 7280:96f86c256ca0
[project @ 2007-12-10 21:12:51 by jwe]
author | jwe |
---|---|
date | Mon, 10 Dec 2007 21:12:51 +0000 |
parents | 72b5e1701da2 |
children | add731f4024d |
files | scripts/ChangeLog scripts/plot/fplot.m |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,8 @@ 2007-12-10 John W. Eaton <jwe@octave.org> + * plot/fplot.m: In N is not specified, increase initial number of + points from 3 and 5 to 5 and 8. + * signal/detrend.m: Move tests here from test/test_signal.m. Loosen tolerance on first test from 10*eps to 20*eps.
--- a/scripts/plot/fplot.m +++ b/scripts/plot/fplot.m @@ -73,10 +73,10 @@ if (floor(n) != n) tol = n; - x0 = linspace (limits(1), limits(2), 3)'; + x0 = linspace (limits(1), limits(2), 5)'; y0 = feval (fn, x0); err0 = Inf; - n = 5; + n = 8; x = linspace (limits(1), limits(2), n)'; y = feval (fn, x);