How to display minimum valley point on the surface,which is drawn using symbolic variables
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Chandradhar Savanth
le 14 Jan 2014
Réponse apportée : Chandradhar Savanth
le 14 Jan 2014
Hi
syms w0 w1;
J = .9486-1.0544*w0+.8916*w1+w0*w1+1.1*(w0^2+w1^2);
figure;ezsurf(J);
i plotted a 3D surface using above code.I would like to know how to display valley or minimum point (with 3 coordinates)
of that surface in the same plot.
1 commentaire
Réponse acceptée
David Sanchez
le 14 Jan 2014
syms w0 w1;
J = .9486-1.0544*w0+.8916*w1+w0*w1+1.1*(w0^2+w1^2);
figure;ezsurf(J);
hold on
plot3(-0.5,-0.1,1.8,'r*'); % use your data
hold off
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots 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!