Hi All,

I am working on an RBC model with a labor market search. I have solved for the steady-state by hand. Also, I used fsolve to compute for my steady-state. I observed that in my code, if

x = fsolve(func,baseline);

x2 = fsolve(func,x);

The solution for x = baseline=x2.

But if I have

x2 = fsolve(func,2*x);

The solution for some of the variables in x2 differs from x and the initial baseline guess.

Note: if I multiply x by values less than or equal to 1, I will get some solutions for x2; If I multiply x by values greater than 1, the solution differs for some variables.NewP2_fsolve_test.m (7.7 KB)

Thank you all for your suggestions.