Feeds
提问
I dont understand the error
I would like it to stop calculating the ode when both functions meet the requirement that dx=0 , and I did: alpha=0.5; beta=0....
3 years 前 | 1 个回答 | 0
1
个回答提问
I want to do stop condition which demand dx=0 in coupled differential equations
I have two equations and I want to stop the integration when those two reach to dx=0. the equations : dx/dt=2*x-x^2+0.5*x*y ...
3 years 前 | 2 个回答 | 0
2
个回答提问
I want to do a stop condition in ode45 that he demands dx=0
this is my code And I don't understand why it doesn't work :( AnonFun=@(t,x)(5*x-1*x^2); Opt=odeset("Events",@myEvent); [t,...
3 years 前 | 2 个回答 | 0
2
个回答提问
Is ode45 always calculate the entire function even if she has been asked only for specific values?
t0=0; tf=5; r=5; s=1; AnonFun=@(t,x)(r*x-s*x^2); [t,x]=ode45(AnonFun,[t0,tf],1); plot(t,x) For example , if i write [t,x]...
3 years 前 | 1 个回答 | 0
