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);

采纳的回答

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