MATLAB: Plot f(x,y) = (x+y+xy+1) / xy = 0 functionmupadplot f(x,y) = (x+y+xy+1) / xy = 0 Hi, How can I plot 2D of the function above on MUPAD or Note ? It is simple 2D x, y space but I couldn't figure it out. Thank you. Best Answer You can do that with the Symbolic Math Toolbox and the fcontour function, setting ‘LevelList’ to a vector of zeros:syms x yf(x,y) = (x+y+x*y+1) / (x*y);figure(1)fc = fcontour(f);fc.LevelList = [0 0];See the documentation on fcontour for details. Related SolutionsMATLAB: Z=xy perhaps you means an element-wise multiplication?z = x.*y;what you're doing above is a matrix multiplication from linear algebra. MATLAB: How to plot quadratic equation with 2 variable You need to use fsurf() and use element-wise operators in your function handlefsurf(@(x, y) 1./2*x.^2+ x.*y+ y.^2+y) Related QuestionHow to plot f (x,y) at x=1Load x,y
Best Answer