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

2 次查看(过去 30 天)
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

更多回答(0 个)

社区

类别

Help CenterFile Exchange 中查找有关 2-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