How i can plot a constant function on the same figure with variable function ?

1 回表示 (過去 30 日間)
Hamza
Hamza 2023 年 8 月 9 日
コメント済み: Dyuman Joshi 2023 年 9 月 8 日
How i can plot a constant function on the same figure with variable function ?
i need to plot a function with it's average on the same figure
thanks in advance :D

採用された回答

Dyuman Joshi
Dyuman Joshi 2023 年 8 月 9 日
Use
hold on
to add more curves to the same figure.
Check out the documentatino for more info - hold
  2 件のコメント
Hamza
Hamza 2023 年 8 月 9 日
thanks a lot
Dyuman Joshi
Dyuman Joshi 2023 年 9 月 8 日
These might be helpful as well -

サインインしてコメントする。

その他の回答 (0 件)

コミュニティ

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by