Why use this equation?

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

回答(1 个)

Walter Roberson
Walter Roberson 2020-9-8

0 个投票

That equation is not needed. There are other ways of producing the same graph.
(The other ways might be more work though.)

类别

在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by