How to plot graphs of sine and cosine functions on the same coordinate plane using matlab
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shewit Weldejewergs
le 19 Fév 2020
Commenté : Mil Shastri
le 10 Mar 2020
Ploting graphs using matlab
0 commentaires
Réponse acceptée
Mil Shastri
le 19 Fév 2020
use the 'hold on' command. For example:
t=1:0.1:10
plot(t,sin(t))
hold on;
plot(t,cos(t))
2 commentaires
Mil Shastri
le 10 Mar 2020
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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!