The Jacobian contains NaNs!

Error using print_info (line 32)
The Jacobian contains NaNs. For more information, use options_.debug.arbc.mod (7.1 KB) Can anyone help me correct this? (I’m new to MATLAB)

You did not provide all files needed to run your file. The modifiedrbc_calibration.m is missing. Also, your implementation of the RBC model looks strange. For a reference, see

modifiedrbc_calibration.m (574 Bytes) run_modifiedrbc_ss.m (1.8 KB). Thank you

Your exp-substitution is not consistent, for example in the first and fourth equation, there is the level of capital showing up.

Thank you so much! Now I get “Error using print_info (line 32)
Blanchard & Kahn conditions are not satisfied: no stable equilibrium.” when I change the values of varthetarbc.mod (7.2 KB)

In at least two cases, you seem to divide by


instead of


in the adjustment costs.