Why use this equation?

4 views (last 30 days)
Pichaya Thochampa
Pichaya Thochampa on 8 Sep 2020
I wonder why the equation is needed
v = (0.5 * uramp (x, 0)) - (ustep (x, 1)) - (0.5 * uramp (x, 2));
In order to graph it out as in the figure

Answers (1)

Walter Roberson
Walter Roberson on 8 Sep 2020
That equation is not needed. There are other ways of producing the same graph.
(The other ways might be more work though.)

Categories

Find more on Programming 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!