photo

Raushan


Last seen: 9 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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 +...

10 months ago | 1 answer | 0

1

answer

Question


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 ...

10 months ago | 1 answer | 0

1

answer

Question


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 ...

1 year ago | 1 answer | 0

1

answer

Question


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)...

1 year ago | 1 answer | 0

1

answer

Question


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)...

1 year ago | 1 answer | 0

1

answer

Question


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...

1 year ago | 0 answers | 0

0

answers

Question


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 ...

1 year ago | 1 answer | 0

1

answer

Question


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) ...

1 year ago | 2 answers | 0

2

answers