what are bvp5c and bvp4c in matlab?

1.6k Views Asked by At

In ode's command in matlab software, I want to know that what is the difference between these two commands in matlab. bvp4c and bvp5c Regards Nima

1

There are 1 best solutions below

1
On BEST ANSWER

According to the documentation,

The bvp5c function is used exactly like bvp4c, with the exception of the meaning of error tolerances between the two solvers. If $S(x)$ approximates the solution $y(x),$ bvp4c controls the residual $|S'(x) – f(x,S(x))|.$ This controls indirectly the true error $|y(x) – S(x)|.$ bvp5c controls the true error directly.