shogun61
- 1
- 0
f(x,y)=\frac{(x+y)}{(y/100+x/50)}
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?
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?