LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
lib
thirdparty
lsoda
lsoda_accurate.m
1
function [T, Y] = lsoda_accurate(odefun, tspan, y0, options)
2
% LSODA_ACCURATE Accurate LSODA variant with full-order Adams/BDF methods
3
%
4
% Equivalent to JAR
's accurateOdeSolver: full Adams order (12) for
5
% maximum accuracy on nonstiff problems, BDF order 5 for stiff regions.
6
%
7
% See also: lsoda_solve, lsoda_fast, lsoda_accurate_stiff
8
9
if nargin < 4, options = struct(); end
10
if ~isfield(options, '
MaxOrdNonStiff
'), options.MaxOrdNonStiff = 12; end
11
if ~isfield(options, '
MaxOrdStiff
'), options.MaxOrdStiff = 5; end
12
[T, Y] = lsoda_solve(odefun, tspan, y0, options);
13
end
Generated by
1.9.8