Effacer les filtres
Effacer les filtres

how can we plot this sine wave

3 vues (au cours des 30 derniers jours)
sesha sai
sesha sai le 20 Avr 2019
Commenté : sesha sai le 20 Avr 2019
Untitledkj.jpgit was source

Réponse acceptée

Geoff Hayes
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.
  1 commentaire
sesha sai
sesha sai le 20 Avr 2019
thank you so much sir

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink 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!

Translated by