stochastic_rk, a MATLAB code which implements Runge-Kutta integration methods for stochastic differential equations.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
stochastic_rk is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.
black_scholes, a MATLAB code which implements some simple approaches to the black-scholes option valuation theory;
cnoise, a MATLAB code which generates samples of noise obeying a 1/f^alpha power law, by miroslav stoyanov.
colored_noise, a MATLAB code which generates samples of noise obeying a 1/f^alpha power law.
feynman_kac_2d, a MATLAB code which demonstrates the use of the feynman-kac algorithm for solving certain partial differential equations.
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.
pce_legendre, a MATLAB code which assembles the system matrix associated with a polynomal chaos expansion of a 2d stochastic pde, using legendre polynomials;
pce_ode_hermite, a MATLAB code which sets up a simple scalar ode for exponential decay with an uncertain decay rate, using a polynomial chaos expansion in terms of hermite polynomials.
pink_noise, a MATLAB code which computes a "pink noise" signal obeying a 1/f power law.
sde, a MATLAB code which illustrates the properties of stochastic differential equations, and common algorithms for their analysis, by desmond higham;
stochastic_diffusion, MATLAB functions which implement several versions of a stochastic diffusivity coefficient.
stochastic_gradient_nd_noise, a MATLAB code which solves an optimal control problem involving a functional over a system with stochastic noise.