Hello all I am trying to use fsolve to solve multiple equations. In one of the equation I am using differentiation with respect to the variable I am solving for for every previous time step. I am getting an error saying Difference N must be a scalar positive integer. I tried using sym but I am not sure how I should proceed with it. I have attached the file with associated text kindly have a look and help me figuring this out.
MATLAB: Not able to solve a differentiation
differential equations; fsolve
Best Answer