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 (2026). 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 LinuxCategories
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Ordinary Differential Equations >
Find more on Ordinary Differential Equations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
