How to graph using surf with an interval?
Mostrar comentarios más antiguos
I have the following:
[x,y] = meshgrid(-2:.2:2); z = x .* exp(-x.^2 - y.^2); surf(x,y,z)

and I am trying to get the following:

How do I graph it to exclude the mid section like that?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
