How do I plot this as a unit step response
3 次查看(过去 30 天)
显示 更早的评论
C(t) = 0.5(1 - e^-2t)
0 个评论
采纳的回答
Star Strider
2021-5-20
If you just want to plot it, the eassiest way is first to code it correctly, then use fplot.
syms t
C(t) = 0.5*(1 - exp(-2*t))
figure
fplot(C, [0 5])
grid
xlabel('t')
ylabel('C(t)')
.
0 个评论
更多回答(1 个)
另请参阅
类别
在 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!