ODE 45 too many input arguments

I am working on this code and i can not find any reason as to why this error appears when I run it.
Error using ode45 Too many input arguments.
Error in ode45 (line 10) [t,y]=ode45(@rhs,[VV], [0;0],[]); Any help would be great. thanks

Respuestas (1)

Torsten
Torsten el 10 de Nov. de 2015

0 votos

Use
[t,y]=ode45(@rhs,[VV],[0 0]);
Best wishes
Torsten.

2 comentarios

MJS
MJS el 10 de Nov. de 2015
I input that code just as you have it and it still gave me the same error. Any idea on how to fix it?
Torsten
Torsten el 10 de Nov. de 2015
[t,y]=ode45(@rhs,VV,[0 0]);
Best wishes
Torsten.

Iniciar sesión para comentar.

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

MJS
el 10 de Nov. de 2015

Comentada:

el 10 de Nov. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by