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

1 回表示 (過去 30 日間)
How could I plot the input function as well for the same range of x? thanks so much.

採用された回答

Stefan Reich
Stefan Reich 2016 年 7 月 28 日
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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by