The following code is to solve a hydrodynamic stability problem. It is a shooting method implemented in Octave software
I have the following code written in Octave. It is supposed to solve a coupled differential equation (DE) dealing with hydrodynamic stability analysis. The code works fine without imaginary numbers and gives excellent result. However, as most DE in stability analysis contain imaginary numbers, I want my code to work when imaginary numbers are included in the DE.