error "inputs must be float"

2 visualizaciones (últimos 30 días)
agrim agarwal
agrim agarwal el 9 de Feb. de 2019
Editada: agrim agarwal el 10 de Feb. de 2019
i cant get past this ode45 because of this
>> initial = [0.2,0.3];
>> timespan
timespan =
0 20
>> initial
initial =
0.2000 0.3000
>> [x1 x2] = ode45(@(x11,x22)x1diff(time,x11,x22),timespan,initial);
Error using odearguments (line 113)
Inputs must be floats, namely single or double.
Error in ode45 (line 115)
odearguments(FcnHandlesUsed, solver_name, ode, tspan, y0, options, varargin);
please help
  2 comentarios
madhan ravi
madhan ravi el 9 de Feb. de 2019
upload your equations in latex form
agrim agarwal
agrim agarwal el 10 de Feb. de 2019
Editada: agrim agarwal el 10 de Feb. de 2019
gud now?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by