Last data update: 2014.03.03

R: Simulates a continuous dynamic system
sim.contR Documentation

Simulates a continuous dynamic system

Description

Simulates a dynamic system of provided ODEs

Usage

sim.cont(syst, start.time, end.time, dt, start.x, parms=NULL, obs.fun=function(x) x[1])

Arguments

syst

ODE system

start.time

starting time

end.time

ending time

dt

time between observations

start.x

initial conditions

parms

parameters for the system

obs.fun

observed function of the state

Details

Simulates a dynamic system of provided ODEs. Uses lsoda in odesolve for numerical integration of the system.

Value

The time series of the observed function of the system's state

Author(s)

Antonio, Fabio Di Narzo

See Also

lorenz.syst, rossler.syst, duffing.syst

Examples

rossler.ts <- sim.cont(rossler.syst, start=0, end=650, dt=0.1, start.x=c(0,0,0), parms=c(0.15, 0.2, 10))

Results