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

 Accepted Answer

Hint:
t=linspace(-1,3,100);
u=(t>1);
plot(t,u); axis padded; xlabel t; ylabel u

More Answers (0)

Categories

Asked:

on 20 May 2022

Edited:

on 20 May 2022

Community Treasure Hunt

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

Start Hunting!