How to plot the function

Hello everyone, I want to know how to plot the function in the code

2 Commenti

Star Strider
Star Strider il 19 Dic 2016
There is only one function and it plots all the results internally.
Soumya Saxena
Soumya Saxena il 28 Dic 2016
I understand that you want to know how to plot a function. Please provide me more information about the function and the code in which, the function is located. I look forward to getting the information from you.

Accedi per commentare.

Risposte (2)

Soumya Saxena
Soumya Saxena il 29 Dic 2016
Modificato: Soumya Saxena il 29 Dic 2016

0 voti

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.

Categorie

Tag

Richiesto:

il 19 Dic 2016

Modificato:

il 29 Dic 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by