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

2 visualizzazioni (ultimi 30 giorni)
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

Dyuman Joshi
Dyuman Joshi il 9 Ago 2023
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

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by