ODE non homogeneous ploting graph

hello, everybody, is there any body who can help me to plot this equation in matlab.
y = -5e^2x+3e^x+3cosx+sinx
thanks.

1 个评论

I think the documentation of the plot function (here) will help a lot.

请先登录,再进行评论。

 采纳的回答

Stephan
Stephan 2019-9-19
编辑:Stephan 2019-9-19
y = @(x) -5.*exp(2.*x) + 3.*exp(x) + 3.*cos(x) + sin(x);
fplot(y,[-20 1],'b-',"LineWidth",2)

更多回答(0 个)

类别

Community Treasure Hunt

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

Start Hunting!

Translated by