統計
MATLAB Answers
8 質問
0 回答
ランク
of 170,969
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Improper integral at 0
lambda = 0.07; mu_1 = 0.05; mu_2 = 0.12; W0 = 20000; R1 = 3000; R2 = 5000; r = 0.05; f = @(x) ((R1-r*W0)/x)^((lambda +...
2年弱 前 | 1 件の回答 | 0
1
回答質問
How to simulate T by inverse transform method
function T01 = simulate_T01(lambda, mu1, n_simulations) u = rand(1, n_simulations); T01 = -1 / (lambda + mu1) * log(1 ...
2年弱 前 | 1 件の回答 | 0
1
回答質問
vertical line on x axis
subplot(1,3,2) plot(a1,x1, 'black', a1, y1, 'r', a1,z1, 'b',LineWidth=5); title('Consumption level, T=10') xticks([0 1 2 3 4 ...
約2年 前 | 1 件の回答 | 0
1
回答質問
Array indices must be positive integers or logical values.
for z=(s_asterisk_tax:1:(T-1)) W_t(z+1)=0; for s=(s_asterisk_tax:1:z) W_t(z+1)=W_t(z+1)+(((L_0*g^s-Z_t_tax)*(1-tau)...
約2年 前 | 1 件の回答 | 0
1
回答質問
ratio using for loops
https://www.mathworks.com/matlabcentral/answers/2035579-ratio-using-for-loops I am still trying to solve it. for s_ast=(0:1:T)...
約2年 前 | 1 件の回答 | 0
1
回答質問
ratio using for loops
Dear All, I would like to calculate this and find out s^*. How can I calculate it using loop. I think reindexing doesn't h...
約2年 前 | 0 件の回答 | 0
0
回答質問
indexing in the nested loop
sum_y_2_s=0; sum_x_2_s=0; for s=0:1:T-1 sum_y_2_s(s)=sum_y_2_s; sum_x_2_s(s)=sum_x_2_s; for z=s:1:T-1 ...
約2年 前 | 1 件の回答 | 0
1
回答質問
nested loop shows only the result of last iteration
Dear All, T=10 for n=(0:1:(T-1)) W_t=(1+r*(1-tau)).^(-(T-n)).*C_0*epsilon.^T.*K^(1/gamma); for m=(n+1:1:T-1) ...
約2年 前 | 2 件の回答 | 0
