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!