Hi, I'm new to matlab
How can I plot multiple functions on same graph ?

답변 (1개)

KSSV
KSSV 2019년 6월 7일
편집: KSSV 2019년 6월 7일

1 개 추천

Use hold on while plotting.
figure
hold on
plot(rand(10,1)) ;
plot(rand(10,1)) ;
legend()
To see different types of plots possible in MATLAB refer:

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

태그

질문:

2019년 6월 7일

편집:

2019년 6월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by