t=0.5:0.0001:50;uc=dsolve('Du=-0.2*u-2','u(0.5)=10','t')figure(1),plot(t,uc)

发布时间:2019-08-09 08:25:39

uc =

(20*exp(1/10))/exp(t/5) - 10

??? Error using ==> plot
Conversion to double from sym is not possible.为什么会出错呢?

推荐回答

us=(20*exp(1/10))./exp(t/5) - 10plot(t,us)
以上问题属网友观点,不代表本站立场,仅供参考!