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

2 visualizaciones (últimos 30 días)
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

Dyuman Joshi
Dyuman Joshi el 9 de Ag. de 2023
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 Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by