Generates a 2-dimensional time series using the Duffing map.
data.gen.Duffing( nobs =5000, a =2.75, b =0.2, start = runif(n =2, min =-0.5, max =0.5), s, do.plot =TRUE)
Arguments
nobs: Length of the generated time series. Default: 5000 samples.
a: The a parameter. Default: 2.75.
b: The b parameter. Default: 0.2.
start: A 2-dimensional vector indicating the starting values for the x and y Duffing coordinates. Default: If the starting point is not specified, it is generated randomly.
s: The level of noise, default 0.
do.plot: Logical value. If TRUE (default value), a plot of the generated Duffing system is shown.
Returns
A list with two vectors named x and y containing the x-components and the y-components of the Duffing map, respectively.