Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
Error in bvp4c code
Error in solution>baseBC (line 41)
res=[ya(4); -(yRc(4))-(((m-1)/(2))*((We)^2)*((yRc(4))^3))+(yRc(6))+(((m-1)/(2))*((We)^2)*((yRc(6))^3));
Error in solution>@(r,y)baseBC(ya,yRc,yRp,yRb,P0,We,m,Da,beta,alpha,phi) (line 25)
sol = bvp4c(@(r,y)base(r,y,P0,mu,hm,Rc,We,m,Da,alpha2,eps),@(r,y)baseBC(ya,yRc,yRp,yRb,P0,We,m,Da,beta,alpha,phi),solinit,options);
Error in bvparguments (line 97)
testBC = bc(ya,yb,bcExtras{:});
Error in bvp4c (line 119)
bvparguments(solver_name,ode,bc,solinit,options,varargin);
Risposta accettata
28 Commenti
Error in solution>@(x,y,r)f(x,y,r,p) (line 27)
sol = bvp5c(@(x,y,r) f(x,y,r,p), @bc, sol);
Error in bvparguments (line 96)
testODE = ode(x1,y1,odeExtras{:});
Error in bvp5c (line 126)
bvparguments(solver_name,ode,bc,solinit,options);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1519726/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1519731/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1519736/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1519741/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1520071/image.png)
Più risposte (1)
5 Commenti
- ya to have at least 4 elements
- yRc to have at least 4 elements
- yRp to have at least 8 elements
- yRb to have at least 9 elements
- and the other parameters to be scalar
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1515059/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1515064/image.png)
Vedere anche
Categorie
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia-Pacifico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)