MATLAB Answers

How to plot graphs of sine and cosine functions on the same coordinate plane using matlab

15 views (last 30 days)

Accepted Answer

Mil Shastri
Mil Shastri on 19 Feb 2020
use the 'hold on' command. For example:
t=1:0.1:10
plot(t,sin(t))
hold on;
plot(t,cos(t))

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by