Single-Step Variable-Order Runge-Kutta ODE Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: odess.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Duane Hanselman (View more)

Single-Step Variable-Order Runge-Kutta ODE script description:



Single-Step Variable-Order Runge-Kutta ODE is a Matlab script for Mathematics scripts design by Duane Hanselman. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Single-Step Variable-Order Runge-Kutta ODE Solution - Variable oder (2,3,5) ODE solution that returns after each successful step.

Publisher review:
Single-Step Variable-Order Runge-Kutta ODE Solution - Variable oder (2,3,5) ODE solution that returns after each successful step. ODESS advances the numerical solution of a set of differential equations one step from t to t h. A variable order Runge-Kutta algorithm is used, where a 5th order step of length h is taken. If this step fails, the same derivative calculations are used to take a 3rd order step of length 3*h/5.If this step fails, the same derivative calculations are used to take a 2nd order step of length h/5. If all these attempts fail, a revised step length h is computed and the process repeats until a step succeeds. This mechanism is well suited for differential equations that have discontinuities or sharp changes appearing at unknown times. ODESS advances the solution a single time step from t to t h, thereby providing intimate access to the solution and ODE parameters every step.[T,Y,YP]=ODESS(ODEFUN,t,y,yp) integrates the first order differential equations computed in the M-file ODEFUN(t,y) from the time point t where y = y(t) and yp = ODEFUN(t,y). ODEFUN must be a function handle and must return a column vector of derivatives given the time t and vector y. [T,Y,YP] are the results at the time T = t h, where Y=Y(T) is a row vector of the solution, and YP=ODEFUN(T,Y) is a row vector of the slopes. ODESS('PName1',PValue1,'PName2',PValue2,...) sets ODESS parameters to the corresponding property values.ODESS(P) sets parameters using the structure P having fieldnames equal to parameter names and corresponding contents equal to property values. ODESS('Reset') resets all parameters to their default values including 'NextStep' so that a new problem may be started. ODESS('PName') returns the value associated with the parameter 'PName'. ODESS({'PName1' 'PName2' ...}) returns parameter values associated with the listed property values in a cell array. P=ODESS with no input argument returns a structure P of all settable parameter values as described above.Parameter DefaultName Value Limits Description'RelTol' 1e-3 >1e-10 Relative Error Tolerance'AbsTol' 1e-6 >0 Absolute Error Tolerance'MinStep' 1e-10 >1e-12 Minimum Stepsize, Hmin'MaxStep' 1 >=Hmin Maximum Stepsize'NextStep' [] >=Hmin Next Stepsize, Hnext'SafetyFactor' 0.9 (0.75,.95) Stepsize Safety Factor'GrowthLimit' 5 (2,20) Stepsize Growth Limit Ratio'ShrinkLimit' 0.1 (.05,.5) Stepsize Shrink Limit Ratio'FallBack' 'on' ('on','off') Enable Fall Back on Full Step Failure Requirements: ยท MATLAB Release: R14SP1
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

Samsung launched the Premium Music Hub

Samsung launched the Premium Music Hub

Samsung finally gives consumers multiple audio streaming countries promised a while. Premium Music Hub allows users access to over 19 million songs, along with other useful functions.

Posted on: 30 May 2012 13:02 by A. Brown

This could be the first photos of iPhone 5

This could be the first photos of iPhone 5

IPhone\'s case came online in a few pictures that confirm rumors of a larger screen. This could be the first photos of the next iPhone, but nothing is really safe to Apple announcement.

Posted on: 30 May 2012 12:58 by A. Brown

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

SPREAD THE WORD

User Rating

Single-Step Variable-Order Runge-Kutta ODE
Rating: 2.5 out of 5
Based on 2 ratings. 2 user reviews.

  • Currently 2.50 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5