Sum in an ode45?

I have the following differnetial equation
dy(1) = a*y(1)/N
where N is the sum of all the Y(i) at a given moment of time, not just at the beginning. How can I input this into ode45?

2 comentarios

Jan
Jan el 11 de Dic. de 2011
What are "all Y(i)"?
Walter Roberson
Walter Roberson el 11 de Dic. de 2011
What does y(1) indicate in this context? Evaluation at y = 1 ? The first of set of subscripted variables?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 11 de Dic. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by