How to create a mesh of distances between neibouring points?

1 visualización (últimos 30 días)
Hi fella's!
I am trying to use meshgrid() to create a grid (matlab surf figure). Let's say I have 6 points on xy plane. A(0,0) B(1,0) C(2,0) D(0,1) E(1,1) F(2,1) I want to create a meshgrid of vertical distances between two adjacent points. Something like this figure : If you can help with with these 6 points, I should find my way to the end. The result for these points, will be a grid with same color(why? because these points are equally located in the neighborhood of each other)
Thanks!!

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by