scatteredinterpolant differs from sample points

조회 수: 5 (최근 30일)
Olaf
Olaf 2016년 8월 4일
답변: John D'Errico 2016년 9월 2일
a surface created with scatteredinterpolant differs from the sample points it was made from, why ?
  댓글 수: 1
Adam
Adam 2016년 8월 4일
You told it to interpolate the points so it introduced new points. Depending on what parameters you used these will potentially do what you have shown there when it comes to extrapolating.

댓글을 달려면 로그인하십시오.

채택된 답변

John D'Errico
John D'Errico 2016년 9월 2일
scatteredinterpolant will ALWAYS reproduce the data exactly, although it may sometimes introduce tiny noise on the order of eps, just due to floating point arithmetic. Interpolation is interpolation.
Others have suggested extrapolation. That has NOTHING to do with interpolation, and prediction of the original points in your set.
Most likely, this is due to a bug in your code. That essentially, you are not plotting the real data that was used to interpolate the surface. That happens.
So, if you want a valid answer, then you need to provide the data. Show how you tried to plot it. Show what you did. Give an example where you think scatteredinterpolant fails. When you do that, along with the data itself, I'll be able to show what you did wrong.

추가 답변 (3개)

Pelin Demir
Pelin Demir 2016년 9월 2일
Because corners must be broken.

James
James 2016년 9월 2일
Because the interpolation points are not always the scatters.

Sridhar Palagiri
Sridhar Palagiri 2016년 9월 2일
Due to Interpolation and Extrapolation

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by