维纳过程的数值模拟

维纳过程的数值模拟维纳过程的数值模拟

import numpy as np
from matplotlib import pyplot as plt



T=10
mu, sigma = 0.002, 0.1 # 均值和标准差 

N=int(T/sigma)

s = np.random.normal(mu, np.sqrt(sigma), N)  

z=np.cumsum(s)*np.sqrt(sigma) 

t=list(range(N))

plt.plot(t,z)

维纳过程的数值模拟

posted on 2019-01-21 14:43 luoganttcc 阅读(...) 评论(...) 编辑 收藏

相关文章:

  • 2022-02-12
  • 2022-12-23
  • 2021-12-27
  • 2021-04-26
  • 2022-02-08
  • 2021-11-27
  • 2021-06-29
  • 2021-12-19
猜你喜欢
  • 2021-12-24
  • 2021-09-26
  • 2021-05-20
  • 2022-12-23
  • 2021-12-23
相关资源
相似解决方案