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

2 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Dyuman Joshi
Dyuman Joshi am 9 Aug. 2023
Use
hold on
to add more curves to the same figure.
Check out the documentatino for more info - hold

Weitere Antworten (0)

Communitys

Weitere Antworten in  Distance Learning Community

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by