How to plot graphs of sine and cosine functions on the same coordinate plane using matlab
조회 수: 8 (최근 30일)
이전 댓글 표시
Ploting graphs using matlab
댓글 수: 0
채택된 답변
Mil Shastri
2020년 2월 19일
use the 'hold on' command. For example:
t=1:0.1:10
plot(t,sin(t))
hold on;
plot(t,cos(t))
댓글 수: 2
Mil Shastri
2020년 3월 10일
You are very welcome.
In fact, if anyone wants to learn more about plotting, I'd recommend looking at Section 9 on Plotting of the MATLAB onramp https://www.mathworks.com/learn/tutorials/matlab-onramp.html
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!