How do I plot this as a unit step response

 Accepted Answer

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)')
.

More Answers (1)

Community Treasure Hunt

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

Start Hunting!