Learn R Programming

tseriesChaos (version 0.1-13.1)

sim.cont: 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

Value

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

Details

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

See Also

lorenz.syst, rossler.syst, duffing.syst

Examples

Run this code
# NOT RUN {
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))
# }

Run the code above in your browser using DataLab