MATLAB: How to plot level curves f(x,y)=yln(x)+xln(y) through point (1,1)

contourMATLAB

how to plot level curves f(x,y)=yln(x)+xln(y) through point (1,1) in matlab

Best Answer

You know what f(x,y) is when x=y=1.
help meshgrid
help contour
So then it is trivial to plot the contour that goes through the indicated point. 3 lines of code. Read the help.
But I won't do your homework. You need to make an effort. I'll make a deal though. If you are willing to seriously try something. Show what you did. Then I'll consider showing you the 3 lines that produced that plot.