I HAVE THE FOLLOWING ERROR: "Error using bvparguments" HELP ME TO FIX IT
Mostra commenti meno recenti
Error using bvparguments (line 108)
Error in calling BVP4C(ODEFUN,BCFUN,SOLINIT):
The derivative function ODEFUN should return a column vector of length 8.
Error in bvp4c (line 122)
bvparguments(solver_name,ode,bc,solinit,options,varargin);
Error in second (line 25)
sol =bvp4c(@shootode,@shootbc,solinit);
8 Commenti
Sulaymon Eshkabilov
il 30 Dic 2022
Modificato: Sulaymon Eshkabilov
il 30 Dic 2022
where is your code?
See this: how to post your question
REVATHI DEVI
il 31 Dic 2022
Torsten
il 31 Dic 2022
Not solvable. The number of ODEs must be equal to the number of boundary conditions.
REVATHI DEVI
il 3 Gen 2023
Steven Lord
il 3 Gen 2023
What is the mathematical set of equations that you're trying to solve? Post them as text or as LaTeX (using the equation editor tool, the Sigma sign in the Insert section of the toolbar) rather than posting as code.
REVATHI DEVI
il 3 Gen 2023
In the code you posted above, there is a third free parameter p that is to be adjusted so that all three instead of only two boundary conditions can be satisfied. Your original problem - which you deleted for some resason - did not contain such a free parameter.
Risposta accettata
Più risposte (1)
Walter Roberson
il 31 Dic 2022
0 voti
you do not initialize your global variables, so some of your calculations return empty
1 Commento
REVATHI DEVI
il 31 Dic 2022
Categorie
Scopri di più su Boundary Value Problems in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!