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

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?

Réponses (1)

Matt J
Matt J le 23 Mai 2017
Modifié(e) : Matt J le 23 Mai 2017
The 'X' refers to the list of locations that you are trying to "interpolate between". They must contain non-repeating ascending values.

Catégories

En savoir plus sur Interpolation dans Centre d'aide et File Exchange

Question posée :

JK
le 23 Mai 2017

Modifié(e) :

le 23 Mai 2017

Community Treasure Hunt

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

Start Hunting!

Translated by