Plus sign is adding error to code?? Help Please??
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Walter Roberson
le 20 Fév 2017
You have
Y. +
notice the dot before the space before the +
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox 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!