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

1 Ansicht (letzte 30 Tage)
how can I resolve the error

Antworten (1)

Walter Roberson
Walter Roberson am 22 Aug. 2018
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.

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by