Effacer les filtres
Effacer les filtres

Plotting -3|siny|

2 vues (au cours des 30 derniers jours)
Bimal Bhattarai
Bimal Bhattarai le 22 Juin 2019
Commenté : infinity le 23 Juin 2019
My code is showing error in the x=-3abs(siny) part. Please Help
y=-pi:0.1:pi;
x=-3abs(siny);
plot (y,x);
  2 commentaires
dpb
dpb le 23 Juin 2019
Why not move your Comment to an Answer???
infinity
infinity le 23 Juin 2019
Hello,
You are right. I have changed it to the answer.

Connectez-vous pour commenter.

Réponses (1)

infinity
infinity le 23 Juin 2019
it should be like that
x=-3*abs(sin(y));

Catégories

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