Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
HOW DO I PLOT THIS GRAPH
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Create a surface plot of the following function: Z = (4x^2+y^2+x-1)e^(-x^2-y^2)
the function z has 2 maximum points and 1 minimum point. Make sure your graph shows these 3 points clearly.
8 comentarios
Zeng Zhi Tee
el 9 de Sept. de 2018
Editada: Walter Roberson
el 9 de Sept. de 2018
Walter Roberson
el 9 de Sept. de 2018
That looks okay.
I tend to suggest
surf(x, y, z, 'edgecolor', 'none')
to prevent the black edges from being drawn. The black edges are constant thickness, and can easily hide the graph itself when you plot more densely.
Notice by the way that you are only using two distinct points in y, since 0:1 is the same as [0 1] . Perhaps you were thinking of something like 0:.1:1
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!