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

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

 Risposta accettata

Use
hold on
to add more curves to the same figure.
Check out the documentatino for more info - hold

Più risposte (0)

Community

Più risposte nel  Distance Learning Community

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by