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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by