Clear Filters
Clear Filters

Error : Interpolation methods require data where the values in X are unique.

12 views (last 30 days)
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)

Matt J
Matt J on 23 May 2017
Edited: Matt J on 23 May 2017
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!