f(x,y)=[tex]\frac{(x+y)}{(y/100+x/50)}[/tex](adsbygoogle = window.adsbygoogle || []).push({});

how can i plot this function with matlab in the region restricted between y=-2x and x=0 lines?

i wanted to plot that the second region of the cartesian coordinate

x=-1:0.1:0;

y=-2*x+eps , eps is very small

[X,Y]=meshgrid(x,y);

z=(X+Y)./(X/100+Y/50);

surf(z)

but it is not what i want.is there another way to plot this?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Matlab 3d plotting

**Physics Forums | Science Articles, Homework Help, Discussion**