フィルターのクリア

simple traduction from ode45 to ode15i

1 回表示 (過去 30 日間)
21did21
21did21 2013 年 1 月 8 日
Hello all,
could you explain to me how to solve a differential system with matlab please?
with ode45 I know:
main.m
A=eye(3)+5;
B=1:1:3; B=B';
[t,y]=ode45(@(t,y)equadiffOde45(t,y,A,B), [0 100], zeros(1,length(B)));
myFun.m
function dy=myFun(t,y,A,B)
dy=zeros(length(B),1);
dy(:,1)=A*y+B;
but I can not find the equivalent with ode15i
could you please show me the equivalent code but with ode15i ?
there are two things I do not understand: 1) the form in which must be written myfun 2) the call ode15i more particularly the initial derivative (it should be 0 not always?)
thank you for your help

回答 (1 件)

21did21
21did21 2013 年 1 月 19 日
can i have your help please ? thanks

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by