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

17 views (last 30 days)
omar hazem
omar hazem on 20 May 2022
Edited: Matt J on 20 May 2022
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)

Community Treasure Hunt

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

Start Hunting!