Sum in an ode45?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2011 年 12 月 11 日
What does y(1) indicate in this context? Evaluation at y = 1 ? The first of set of subscripted variables?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!