plot the exp function

2 visualizzazioni (ultimi 30 giorni)
KyeongMin Cho
KyeongMin Cho il 1 Apr 2020
Risposto: Birdman il 1 Apr 2020
I'd like to draw graph like this with using plot, not ezplot.
I've tried several expression but not worked.

Risposta accettata

Birdman
Birdman il 1 Apr 2020
syms y(t)
eq=diff(y,2)+13*diff(y)+40*y==4;
Dy=diff(y);
Y(t)=dsolve(eq,[y(0)==0 Dy(0)==0])
t=0:0.001:0.9;
plot(t,Y(t))

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by