What is the difference between these commands ?

42 vues (au cours des 30 derniers jours)
diadalina
diadalina le 19 Déc 2017
Commenté : Image Analyst le 19 Déc 2017
can anyone tell me the difference between plot3 and meshgrid and surf ?

Réponse acceptée

Image Analyst
Image Analyst le 19 Déc 2017
plot3() plots some markers at the specified points. It does not make a solid surface between the markers.
surf() will create a solid surface between the points.
meshgrid() gives every possible combination of every x and every y. It is not a plotting function.
  2 commentaires
diadalina
diadalina le 19 Déc 2017
thank mr.image analyst for your answer . can you give me an example ?
Image Analyst
Image Analyst le 19 Déc 2017
There are examples in the help. Did you try any or all of them? I'm attaching a demo fro make a movie from the surf() command.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by