shooting method, bvp

I am attcahing a code in which i am trying to solve BVP by using Shooting method but failed. can any have look on it and correct it.

8 件のコメント

darova
darova 2019 年 10 月 5 日
Can you be more specific? When it fails
Bjorn Gustavsson
Bjorn Gustavsson 2019 年 10 月 5 日
The way I read the attached file it will go into an infinite recursive loop(spiral?), since the first line of the function (linshoot) is a call to itself with identical inputs, that will lead to a call to linshoot which will lead to another call to linshoot, which will repeat until something crashes without anything more being done.
Pavel Osipov
Pavel Osipov 2019 年 10 月 5 日
Sorry, shooting method is not about solving Cauchy problems for 1st order ode systems by reducing to a boundary value problem? The method of shooting-in Russia is called.
darova
darova 2019 年 10 月 5 日
Pavel Osipov
Pavel Osipov 2019 年 10 月 5 日
@Pavel Osipov whai? - It's a question? or @Pavel Osipov whai !
:-))
darova
darova 2019 年 10 月 5 日
It was a question :)
I understood your comment already
Ahsan
Ahsan 2019 年 10 月 10 日
編集済み: Ahsan 2019 年 10 月 10 日
@darova i am biggner in matlab i do not know whats the issue
Bjorn Gustavsson
Bjorn Gustavsson 2019 年 10 月 10 日
Read my comment, until you understand what I've written.

サインインしてコメントする。

回答 (1 件)

Pavel Osipov
Pavel Osipov 2019 年 10 月 22 日

0 投票

Tanya, hi! You attempt to solve Boundary Value Problem. Sorry, I'm think -> it's initial value problems, and tell you
about system linearized equations and their matrix and ther eigen values problem.
At function w = linshoot ( coeff, a, b, n, alpha, beta )..., and so on I'm not see all program.
Only function w = linshoot ( coeff, a, b, n, alpha, beta ).
Let's look at the problem statement and the solution algorithm. All the best, Paul.

カテゴリ

質問済み:

2019 年 10 月 5 日

回答済み:

2019 年 10 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by