Not able to solve an ode using dsolve
조회 수: 1 (최근 30일)
이전 댓글 표시
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);
댓글 수: 0
채택된 답변
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 Center 및 File Exchange에서 Equation Solving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!