How to plot u(t) - u(t-2) on matlab
22 views (last 30 days)
Show older comments
Help please I need to plot u(t) - u(t-2)
0 Comments
Answers (2)
Star Strider
on 17 Dec 2022
syms t
u(t) = heaviside(t);
figure
fplot(u(t)-u(t-2), [0 5])
grid
xlabel('t')
ylabel('Amplitude')
axis('padded')
.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
