Starting diary file "diary-2016-02-29.txt" on Mon Feb 29 2016 12:25 PM. help ode23 ODE23 Solve non-stiff differential equations, low order method. [TOUT,YOUT] = ODE23(ODEFUN,TSPAN,Y0) with TSPAN = [T0 TFINAL] integrates the system of differential equations y' = f(t,y) from time T0 to TFINAL with initial conditions Y0. ODEFUN is a function handle. ... doc ode23 odeset AbsTol: [ positive scalar or vector {1e-6} ] RelTol: [ positive scalar {1e-3} ] NormControl: [ on | {off} ] NonNegative: [ vector of integers ] OutputFcn: [ function_handle ] OutputSel: [ vector of integers ] Refine: [ positive integer ] Stats: [ on | {off} ] InitialStep: [ positive scalar ] MaxStep: [ positive scalar ] BDF: [ on | {off} ] MaxOrder: [ 1 | 2 | 3 | 4 | {5} ] Jacobian: [ matrix | function_handle ] JPattern: [ sparse matrix ] Vectorized: [ on | {off} ] Mass: [ matrix | function_handle ] MStateDependence: [ none | {weak} | strong ] MvPattern: [ sparse matrix ] MassSingular: [ yes | no | {maybe} ] InitialSlope: [ vector ] Events: [ function_handle ] help odeset ODESET Create/alter ODE OPTIONS structure. ... edit fallingf ode23(@fallingf,[0 10], [100; 0]) opt = odeset('events',@stopper) opt = AbsTol: [] BDF: [] Events: @stopper InitialStep: [] Jacobian: [] JConstant: [] JPattern: [] Mass: [] MassConstant: [] MassSingular: [] MaxOrder: [] MaxStep: [] NonNegative: [] NormControl: [] OutputFcn: [] OutputSel: [] Refine: [] RelTol: [] Stats: [] Vectorized: [] MStateDependence: [] MvPattern: [] InitialSlope: [] ode23(@fallingf,[0 10], [100; 0], opt) [T,Y] = ode23(@fallingf,[0 10], [100; 0], opt); T T = 0 0.0000 0.0000 ... 4.8151 5.2944 edit stopper diffusion {??? Undefined function or variable 'implicit_method'.} implicit_method = 1; diffusion