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 日

0 投票

Use
hold on
plot(...) % plot first graph
plot(...) % plot second graph
hold off

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-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