Plus sign is adding error to code?? Help Please??
12 次查看(过去 30 天)
显示 更早的评论
Here is the code i am using. I was able to fix it however, now its highlighting the plus sign as an error. Can anybody help?? The original function is:
F(x,y)=xy-lnx-y^2/2+C
%
[X,Y] = meshgrid(-3:.01:3, -4:.01:4);
contour(X, Y, ((X.*Y. + ln(X.)+((Y.^2)./2))))
hold on
0 个评论
回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!