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

조회 수: 2 (최근 30일)
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

채택된 답변

Dyuman Joshi
Dyuman Joshi 2023년 8월 9일
Use
hold on
to add more curves to the same figure.
Check out the documentatino for more info - hold

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  원격 교육 커뮤니티

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by