How do I do this?
Afficher commentaires plus anciens
Plot region bounded above by the paraboloid z = x2 + y2 and below by the triangle enclosed by the lines y = x, x=0, and x + y =2,
6 commentaires
Walter Roberson
le 9 Fév 2021
Symbolic toolbox and piecewise() and fsurf()
JIANGWEN DONG
le 9 Fév 2021
[x,y] = meshgrid(linspace(-2,2));
z = x.^2+y.^2;
z(x + y > 2) = nan;
mesh(x,y,z)
Except you would insert more statements setting selected z locations to nan.
JIANGWEN DONG
le 9 Fév 2021
Walter Roberson
le 9 Fév 2021
you would insert more statements similar to
z(x + y > 2) = nan;
JIANGWEN DONG
le 9 Fév 2021
Réponses (0)
Catégories
En savoir plus sur Line Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
