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

Réponses (1)

Walter Roberson
Walter Roberson le 8 Sep 2020

0 votes

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

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by