plot 2D-function: x and y Range

1 view (last 30 days)
SA-W
SA-W on 10 Nov 2020
Edited: SA-W on 10 Nov 2020
Hello,
I have a function of 2 variables (X,Y). Of course, I can plot the function with surf(...).
But the function is only valid for X and Y Values, which describe a triangle. Outside the triangle, I do not want to see the Z-Values in my surface plot (or set the Z-Values to Zero there).
How can I solve that easily?
Thank you!

Answers (0)

Community Treasure Hunt

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

Start Hunting!