I get a Warning from scatteredInterpolant.
23 views (last 30 days)
Show older comments
I get the following warning from scatteredInterpolant
"Warning: Duplicate data points have been detected and removed - corresponding values have been averaged."
Does this mean that the function discovered duplicate (x,y) grid points in my inputs, or that some adjacent z-points are duplicated?
The x,y grid is latitude/longitude. So, the 1st (-180) and last (+180) longitudes could have been duplicated and it is possible that some randomly located z-points can be duplicates.
Should I be concerned about this warning?
0 Comments
Answers (2)
Star Strider
on 5 Aug 2021
‘Should I be concerned about this warning?’
Probably not, unless the result of the interpolation does not correspond the the data plotted (for example) with scatter3, stem3, or other appropriate plots. If there is a significant disparity, then the data need to be examined and corrected to produce an appropriate result.
.
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!