Réponse acceptée

Alan Stevens
Alan Stevens le 6 Fév 2021

0 votes

Try using limits, e.g.
fplot(@(t) 16/3*exp(-2*t)-4/3*exp(-8*t), [0 20]);
Also use
t.*exp(...etc) not t*exp(...etc)

3 commentaires

Shuqing Qi
Shuqing Qi le 6 Fév 2021
What should we change for the third fplot? There isn't t.*exp but error still exist.
You need to use
exp(-4*t).*cos(3*t)
and
exp(-4*t).*sin(3*t)
Shuqing Qi
Shuqing Qi le 7 Fév 2021
That works! Thanks a lot!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by