Initial guessing to bvp4c MATLAB

547 Views Asked by At

I am working on a 4th order non-linear variable coefficient homogeneous ODE bvp. I am having issues getting a solution using bvp4c. This could be one of many things. Not having a solution within the boundaries I am providing, due to the non-linearity matlab cannot resolve to a solution, or the initial guesses for the functions are so far off it can't work with them. The error I am getting is

Error using bvp4c (line 251)
Unable to solve the collocation equations -- a singular Jacobian encountered.

I was wondering if there is a better way to provide initial guesses. I would like to give a vector of points that the solution should be near. Is that possible? Any other advice?

btw, I am unable to post example an example code.