Plotting these sin waves.
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
erik polakovic
le 28 Fév 2019
Réponse apportée : Ethar Alkamil
le 28 Fév 2019
Hello everyone and thanks in advance for help,I am new to matlab and i need to create plot which looks exactly like this and i dont know how

0 commentaires
Réponse acceptée
Ethar Alkamil
le 28 Fév 2019
Try this:
i=1.2; Ur=2;
plot((0:360),sind((0:360))*Ur,'b'), axis([0 360 -Ur Ur])
hold on
plot((0:360),sind((0:360))*i,'r'), axis([0 360 -Ur Ur])
0 commentaires
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!