How to make mesh or contour by using just x,y,z coordinates data ?

Hello, teacher
I have a question about graph.
I want to make mesh or contour graph but i can't, because x,y,z is just coordinates.
How should i write code?
Please give your good ideas.

Answers (1)

[xx,yy,zz] = meshgrid(x,y,z);
contour(xx,yy,zz)

This question is closed.

Asked:

on 13 Jul 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!