Filter löschen
Filter löschen

How can I plot the input function in this example? (I already got the graph of the output function)

2 Ansichten (letzte 30 Tage)
How could I plot the input function as well for the same range of x? thanks so much.

Akzeptierte Antwort

Stefan Reich
Stefan Reich am 28 Jul. 2016
Dear Rogelio, I suggest simply adding
p = fun(x);
hold on
plot(x,p,':')
to the end of your function. Should do the trick. S

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by