So I'm trying to graph a function and when I plot the following:
plot(y,(.65*y)-(0.65*y.^2/10.5));
It works fine but when I add in the second part of the equation there's an error that I don't know how to fix
plot(y,(.65*y)-(0.65*y.^2/10.5))-(((1.2*(y^2))/(1+(y^2))));

 采纳的回答

plot(y,(.65*y)-(0.65*y.^2/10.5))-(((1.2*(y.^2))./(1+(y.^2))));
Best wishes
Torsten.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by