how can i plot a continuous unit step function without heaviside?

14 views (last 30 days)
i need to plot this function without heaviside

Accepted Answer

Matt J
Matt J on 20 May 2022
Edited: Matt J on 20 May 2022
Hint:
t=linspace(-1,3,100);
u=(t>1);
plot(t,u); axis padded; xlabel t; ylabel u

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!