Error using odearguments (line 93) must return a column vector

1 visualización (últimos 30 días)
Stephanie Rupert Jackson
Stephanie Rupert Jackson el 28 de Nov. de 2020
Comentada: Image Analyst el 28 de Nov. de 2020
Why does it have to return a column vector?
How can I fix this?

Respuestas (1)

Stephan
Stephan el 28 de Nov. de 2020
Editada: Stephan el 28 de Nov. de 2020
Add this line in your ode function at the last line:
NameOfYourOutputVariable = NameOfYourOutputVariable(:);
This should fix the error.

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by