how can I resolve the error (Error in sym/subsref (line 859) R_tilde = builtin('s​ubsref',L_​tilde,Idx)​;)

1 次查看(过去 30 天)
how can I resolve the error

回答(1 个)

Walter Roberson
Walter Roberson 2018-8-22
You need to check isempty(z) before you try to access the results.
That is, you are assuming that dsolve() is able to find a solution, but it is not able to find a solution.
There is no explicit solution for your equations. There are some families of solutions. Some members of the families involving picking arbitrary y2(t) or y5(t) with the other functions becoming various complicated results, some of which are closed form and the others of which can even end up being differential equations that might or might not have closed forms (but probably not) depending on the arbitrary choose of functions.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by