plot the exp function

6 views (last 30 days)
KyeongMin Cho
KyeongMin Cho on 1 Apr 2020
Answered: Birdman on 1 Apr 2020
I'd like to draw graph like this with using plot, not ezplot.
I've tried several expression but not worked.

Accepted Answer

Birdman
Birdman on 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))

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!