Mercurial > octave-nkf
view test/octave.test/diffeq/lsode-3.m @ 5301:9302581b820d ss-2-9-2
[project @ 2005-04-22 17:08:07 by jwe]
author | jwe |
---|---|
date | Fri, 22 Apr 2005 17:09:11 +0000 |
parents | 3aa0e187901c |
children |
line wrap: on
line source
function xdot = f (x, t) xdot = x; endfunction x0 = 1; t = [0; 1]; tol = 100 * dassl_options ("relative tolerance"); x = lsode ("f", x0, t); y = [1; e]; all (all (abs (x - y) < tol))