How do I plot two different functions on the same plot?

What format do I need to write the code in to plot both of these functions on the same plot?

 채택된 답변

Torsten
Torsten 2023년 3월 11일
Use
hold on
plot(...) % plot first graph
plot(...) % plot second graph
hold off

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2023년 3월 11일

답변:

2023년 3월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by