Error using decic to estimate consistent initial conditions
7 次查看(过去 30 天)
显示 更早的评论
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!