How to plot graphs of sine and cosine functions on the same coordinate plane using matlab
19 次查看(过去 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!