rossler_system {ARGOS} | R Documentation |
Rossler Chaotic System
Description
Simulates the Rossler chaotic system with optional noise.
Usage
rossler_system(n, dt, init_conditions, a, b, c, snr = Inf)
Arguments
n |
Number of time points (rounded to the nearest integer). |
dt |
Time step between observations. |
init_conditions |
Initial conditions as a numeric vector of length 3 (X, Y, Z). |
a |
Rossler parameter 1 |
b |
Rossler parameter 2 |
c |
Rossler parameter 3 |
snr |
Signal-to-noise ratio (in dB). Use Inf for no noise. |
Details
This function simulates the Rossler chaotic system with the specified parameters. It uses the specified time step and initial conditions to compute the system's state over time. If a non-Infinite SNR is provided, Gaussian noise is added to the system.
Value
A numeric matrix representing the system's state over time. Each row corresponds to a time point, and each column represents a variable (X, Y, Z).
Examples
# Simulate the Rossler system with 1000 time points and no noise
data <- rossler_system(
n = 1000,
dt = 0.01,
init_conditions = c(0, 2, 0),
a = 0.2, b = 0.2, c = 5.7,
snr = Inf
)
[Package ARGOS version 0.1.1 Index]