Nearest Neighbor Interpolated data

22 visualizaciones (últimos 30 días)
Jahangir
Jahangir el 6 de Sept. de 2012
If you are give a matrix,zi, generated using griddata where:
x=5 unknown values;
y=5 unknown values;
xq=linspace(0,25,26);
yq=linspace(0,25,26);
z=[1:5];
zi=gridata(x,y,z,xq,yq,'nearest');
How do you approximate/calculate the original 5 (x,y) points?

Respuestas (1)

Image Analyst
Image Analyst el 6 de Sept. de 2012
There is no unique solution. There could be millions of x and y that could give the shape. Just look at the example in the help. x and y (the blue dots on their colored wire grid surface) could be anywhere along any of the wires, and you'd still have the same surface. You can't tell where they came from just by having the surface.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by