Plotting a sum function

8 vues (au cours des 30 derniers jours)
John Andrew
John Andrew le 2 Fév 2019
Modifié(e) : John Andrew le 3 Fév 2019
Hello,
As you can see from the pictures I've provided, I'm trying to match the function on the desmos graphing calculator. For whatever reason, the maximum which my function reaches on Matlab is approximately -.06 & 0.6. I'm assuming im doing something incorrect with Matlab? Any idea what I'm doing incorrectly and how I can fix it?
Thanks!! Capture.PNG

Réponses (1)

Walter Roberson
Walter Roberson le 2 Fév 2019
You did not add the 1/2 until after you graph.
  1 commentaire
John Andrew
John Andrew le 3 Fév 2019
Modifié(e) : John Andrew le 3 Fév 2019
fixed it! thanks for the confirming the issue for me.

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by