Azzera filtri
Azzera filtri

Error using decic to estimate consistent initial conditions

7 visualizzazioni (ultimi 30 giorni)
Hey guys,
Have been encountering the following error while using decic:
Error using decic>sls (line 129)
Try freeing 8 fixed components.
Error in decic (line 78)
[dy,dyp] = sls(res,dfdy,dfdyp,neq,free_y,free_yp);
Error in DDP_Jan2 (line 122)
[y0,yp0] = decic(@massbal,z0,y0,[1 1 1 1 1 1 1 1],yp0,[])
I ain't understanding which components to free and on freeing it says index might be greater than one. But isLowIndexDAE shows mine is an index 1 system. Please find attached my code and kindly suggest corrections.

Risposte (0)

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by