How to plot the function
1 view (last 30 days)
Soumya Saxena on 29 Dec 2016
Edited: Soumya Saxena on 29 Dec 2016
In order to plot a function or an expression, you may use the " fplot" function. More details are given in the following link:
Another function that can be used is " fimplicit". fimplicit(f) plots the implicit function defined by f(x,y) = 0 over the default interval:
The fsurf(f) function call, creates a surface plot of the function z = f(x,y) over the default interval. The detailed documentation is at the following link:
You can also use the function " fcontour" where fcontour(f) plots the contour lines of the function z = f(x,y) for constant levels of z over the default interval.