0

是否有工具箱或可用的 MATLAB 函数可以让我求解以下随机积分近似值,其中 z 是维纳过程:

在此处输入图像描述

4

1 回答 1

0
    %Lets say n is 100 and dt is 1/252 and k = .1
    n = 100;
    dt = 1/252;
    k = 0.1;
    dz = randn(n,1); %get random increments: normal
    %dz = 2*(randi(2,n,1)-1.5); % or plus/minus ones : bernoulli
    fnt = exp(-k*(n*dt - [0:n-1]*dt))*sqrt(dt)*dz;
于 2013-10-17T13:13:05.943 回答