colored_noise, a MATLAB code which generates sequences that simulate 1/f^alpha power law noise. This includes white noise (alpha = 0), pink noise (alpha = 1) and brown noise or Brownian motion (alpha = 2), but also values of alpha between 0 and 2.
The information on this web page is distributed under the MIT license.
colored_noise is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
brownian_motion_simulation, a MATLAB code which simulates Brownian motion in an M-dimensional region.
cnoise, a MATLAB code which generates samples of noise obeying a 1/f^alpha power law, by Miroslav Stoyanov.
correlation, a MATLAB code which contains examples of statistical correlation functions.
normal, a MATLAB code which computes elements of a sequence of pseudorandom normally distributed values.
ornstein_uhlenbeck, a MATLAB code which approximates solutions of the Ornstein-Uhlenbeck stochastic differential equation (SDE) using the Euler method and the Euler-Maruyama method.
pink_noise, a MATLAB code which computes a "pink noise" signal obeying a 1/f power law.
sftpack, a MATLAB code which implements the "slow" Fourier transform, intended as a teaching tool and comparison with the fast Fourier transform.
stochastic_rk, a MATLAB code which applies a Runge-Kutta scheme to a stochastic differential equation.
uniform, a MATLAB code which computes elements of a uniform pseudorandom sequence.