fplot() for three functions
1 次查看(过去 30 天)
显示 更早的评论
I wonder why my fplot()s output errors instead of the graph below?


0 个评论
采纳的回答
Alan Stevens
2021-2-6
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!