how can i plot unit step function

 Accepted Answer

You can use the symbolic toolbox heaviside() function after having set sympref('heavisideatorigin') according to the value you want to show up at exactly 1.

More Answers (0)

Categories

Find more on 2-D and 3-D 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!