ODE 23 PROBLEM??

7 visualizaciones (últimos 30 días)
Fernando Márquez Sañay
Fernando Márquez Sañay el 5 de En. de 2019
Editada: madhan ravi el 5 de En. de 2019
F = @(t,y)y
[t,y]=ode23(F,[0 1],1)
Output argument "X" (and maybe others) not
assigned during call to "ode23".
What is the problem????

Respuestas (1)

madhan ravi
madhan ravi el 5 de En. de 2019
Editada: madhan ravi el 5 de En. de 2019
Probably you may have a function file named F/ode23 please delete it or rename it , your code works perfectly fine.
[t,y]=ode23( @(t,y) y ,[0 1], 1) % can also use ode45
what shows up for
which ode23 -all
which F -all

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