Skip to content

Instantly share code, notes, and snippets.

View slothochdonut's full-sized avatar
🏠
Working from home

chengjie wang slothochdonut

🏠
Working from home
  • gothenburg
View GitHub Profile
using Distributions, Statistics, LinearAlgebra
## simulate sample trajectory
μ = [1.0, 0.0]
Σ = [0.5 0.0
0.0 0.5]
x0 = rand(MultivariateNormal(μ, Σ)) #start point
β = [0.0, 0.0]