photo

Raushan


Last seen: 9 mesi fa Attivo dal 2023

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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 mesi fa | 1 risposta | 0

1

risposta

Domanda


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 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 0 risposte | 0

0

risposte

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 2 risposte | 0

2

risposte