Error : Interpolation methods require data where the values in X are unique.
Show older comments
I am trying to do a simple interpolation. However I got an error message " Interpolation methods require data where the values in X are unique". Can you please help me figure out what is causing this error?
Answers (1)
The 'X' refers to the list of locations that you are trying to "interpolate between". They must contain non-repeating ascending values.
Categories
Find more on Interpolation 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!