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.
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!