ROCK4

explicit solver for stiff equations
1.5K Downloads
Updated 1 Sep 2006

No License

This is a MATLAB-implementation of ROCK4 (Abdulle & Medovikov)for the numerical solution of a (mildly) stiff system of first order differential equations ODEs y'=f(t,y).

ROCK4 is based on a family of second order explicit Runge-Kutta methods with nearly optimal stability domain on the negative real axis.

Usage is the same as ode23s:
[TOUT,YOUT] = rock(ODEFUN,TSPAN,Y0)
or
[TOUT,YOUT] = rock4(DEFUN,TSPAN,Y0,OPTIONS)
or
[TOUT,YOUT,TE,YE,IE] = rock4(ODEFUN,TSPAN,Y0,OPTIONS)

Cite As

Gerd Steinebach (2024). ROCK4 (https://www.mathworks.com/matlabcentral/fileexchange/12129-rock4), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0