Nearest Neighbor Interpolated data
조회 수: 21 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Image Analyst
2012년 9월 6일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!