photo

Raushan


Last seen: 5 mois il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

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

6 mois il y a | 1 réponse | 0

1

réponse

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

6 mois il y a | 1 réponse | 0

1

réponse

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

9 mois il y a | 1 réponse | 0

1

réponse

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

9 mois il y a | 1 réponse | 0

1

réponse

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

9 mois il y a | 1 réponse | 0

1

réponse

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

10 mois il y a | 1 réponse | 0

0

réponse

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

10 mois il y a | 1 réponse | 0

1

réponse

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

10 mois il y a | 2 réponses | 0

2

réponses