MATLAB Answers


Imposing boundary conditions to a shooting method

Asked by pxg882
on 15 Jan 2013

I am shooting a 5th order system for {F,F',G,G',H}(all of which are functions of the similarity variable eta) specifying the conditions F(0)=0, G(0)=1, H(0)=0. I need to impose the following two boundary conditions at some suitably large eta_infty.

F'-nF/eta(n-1)=0 and G'-nG/eta(n-1)=0 at eta=eta_infty (where n is a constant)

Is there a way of doing this using the ode45 solver? I have a shooting script using the ode45 solver that works but I cannot figure out a way to incorporate these two conditions into my script. I've tried solving this using the boundary value problem solver but the system of equations is quite complex and the required integration range is large meaning that the boundary value solver fails in this case.

Any help and insight anybody could give me would be greatly appreciated.



Log in to comment.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!