ODE non homogeneous ploting graph

2 Ansichten (letzte 30 Tage)
idabagus mahartana
idabagus mahartana am 19 Sep. 2019
Kommentiert: Renato SL am 19 Sep. 2019
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 Kommentar
Renato SL
Renato SL am 19 Sep. 2019
I think the documentation of the plot function (here) will help a lot.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by