how can we plot this sine wave
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
it was source
Réponse acceptée
Geoff Hayes
le 20 Avr 2019
sesha - the only difference between this and the usual sine curve is that it is "inverted". Try doing
x = -pi:0.01:pi;
y = -1 * sin(x);
plot(x,y);
and see how the -1 scalar gives you what you are looking for.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!