Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有工具箱或可用的 MATLAB 函数可以让我求解以下随机积分近似值,其中 z 是维纳过程:
%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;