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

2 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Dyuman Joshi
Dyuman Joshi le 9 Août 2023
Use
hold on
to add more curves to the same figure.
Check out the documentatino for more info - hold

Plus de réponses (0)

Communautés

Plus de réponses dans  Distance Learning Community

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by