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!