Not able to solve an ode using dsolve

조회 수: 1 (최근 30일)
Anshuman S
Anshuman S 2019년 6월 23일
댓글: Anshuman S 2019년 6월 23일
Not able to get any result out of this code. May anyone help, thanks
syms y(t)
ode = diff(y,t) == -0.127.*(-3.*(log(7e-10.*exp(0.405.*y))).*(y - 0.01));
cond = y(0) == 0.01;
ySol(t) = dsolve(ode,cond);

채택된 답변

Stephan
Stephan 2019년 6월 23일
Consider:
syms y(t)
ode = diff(y,t) == -0.127.*(-3.*(log(7e-10.*exp(0.405.*y))).*(y - 0.01));
cond1 = y(0) == 0.01;
cond2 = y(0) == 1;
ySol = dsolve(ode)
ysol1 = dsolve(ode,cond1)
ysol2 = dsolve(ode,cond2)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Equation Solving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by