What does it represent the second vector in solinit?

4 views (last 30 days)
Elia Paini
Elia Paini on 28 Apr 2021
Hi, I solved a system of ODEs second order with BCs with bvp4c.
I have 8 variables (4 are the functions I'm interested, y(x), the others are the 4 derivatives dy/dx).
After defining the vector xmesh, I have to insert the second vector, which should be represent the initial guess.
solinit = bvpinit(xmesh,[0,0,0,0,1,1,1,1]);
However, I don't know how the second vector should be inserted to obtain a good solution. It seems that its values poorly change the final solution, but I don't understand their meanings.
I've already read the guide, but I haven't found the answer.
Thak you all!

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by