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

1 visualización (últimos 30 días)
How could I plot the input function as well for the same range of x? thanks so much.

Respuesta aceptada

Stefan Reich
Stefan Reich el 28 de Jul. de 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

Más respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by