I have a problem in solving the residuals of the model equations.
Here is my equation, calvo pricing, for example,
But the value of both right and left side are the same when in the part of given initial values.
I test in the .m file to verify it.
t2 is equal to t1!!
How could this happen? I’m sure i didn’t redefine the variable’s value.
Is there any mistake will cause this kind of inconsistency?