統計
MATLAB Answers
3 質問
0 回答
ランク
of 171,578
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Is it correct to write the following matlab code for the strong solution of SDE in the form of dx(t)=a*x(t)+b*x(t)*dw(t)? w(t) is brownian motion and a and b are constant
N=1;%number of path T=20; x_0=1000; x=zeros(T/dt+1,N); for t=1:T/dt dw=randn(T/dt,N); x(t+1,:) = x(t,:) +a*x(t)*dt +b*x(t)...
5年以上 前 | 0 件の回答 | 0
0
回答質問
I have a code in which the variable changes in every loop iteration for a fixed time point t=5, by assuming that x is changing between 0 and 5, and t=0 to 30. how can I plot the changes ?
r = 0.02; mu = 0.08; sigma = 0.2; T = 30; ...
6年弱 前 | 1 件の回答 | 0
1
回答質問
I have a question regarding time dependent loop, as I want to have a variable changing with time in the loop from 0 to 30
gamma(t) =4-(6/90*t);
6年弱 前 | 1 件の回答 | 0

