How to save function to calculate in an equation?

1 visualización (últimos 30 días)
EB
EB el 21 de Oct. de 2019
Editada: EB el 24 de Oct. de 2019
How do you save dydx so it's not a function and can be calculated in error?
At the moment, I get the error: "Undefined operator '-' for input arguments of type 'function_handle'." And it seems because my dydx is a function, it cannot be calculated.

Respuestas (1)

Steven Lord
Steven Lord el 21 de Oct. de 2019
You can't add a function handle and a number.
You can add the value you receive from evaluating a function handle and a number.

Categorías

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

Etiquetas

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by