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

 Respuesta aceptada

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

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  Distance Learning Community

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de Ag. de 2023

Comentada:

el 8 de Sept. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by