Plotting a sum function

6 次查看(过去 30 天)
John Andrew
John Andrew 2019-2-2
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

回答(1 个)

Walter Roberson
Walter Roberson 2019-2-2
You did not add the 1/2 until after you graph.
  1 个评论
John Andrew
John Andrew 2019-2-3
编辑:John Andrew 2019-2-3
fixed it! thanks for the confirming the issue for me.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by