필터 지우기
필터 지우기

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 CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by