How can i draw contours of a function of the form f(x)=X1^2+X2^2?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
contour(X1,X2,f) doesn't draw contours.
0 comentarios
Respuestas (1)
Honglei Chen
el 24 de Sept. de 2018
Are you looking for something like this?
ezcontour(@(x1,x2)x1.^2+x2.^2)
HTH
2 comentarios
Honglei Chen
el 24 de Sept. de 2018
What I showed is a contour plot. Could you explain what you want?
Ver también
Categorías
Más información sobre Contour Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!