How can I define a boundary of a variable by another variable?

1 view (last 30 days)
Hello,
I'm trying to graph a function; but one of the variables' boundaries is defined by another variable.
For instance: ezsurf(x^2 + y^2, [-1, 1, -0.5, 1.5]) But what if y is between -1 and x?
How can I plot something like ezsurf(x^2 + y^2, [-1, 1, -1, x])
Thank you.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!