How do I plot this as a unit step response

3 ビュー (過去 30 日間)
Nicolas Luciani
Nicolas Luciani 2021 年 5 月 20 日
回答済み: Girijashankar Sahoo 2021 年 5 月 20 日
C(t) = 0.5(1 - e^-2t)

採用された回答

Star Strider
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))
C(t) = 
figure
fplot(C, [0 5])
grid
xlabel('t')
ylabel('C(t)')
.

その他の回答 (1 件)

Girijashankar Sahoo
Girijashankar Sahoo 2021 年 5 月 20 日
plot([0:0.001:10],0.5*(1 - exp(-2*t)))

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by