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;