The most efficient way to interpolate

2 vues (au cours des 30 derniers jours)
Valkmi
Valkmi le 14 Fév 2017
Commenté : Valkmi le 16 Fév 2017
Hello everyone!
Lets assume I have been given 2x60 matrix consisting of X and corresponding Y values. Of these values I have computed the picture below.
What is the most efficient way to approximate(interpolate) the value between those data points (circles), I have been given a long vector containing a bit over million values of X on the range of 10-14. How would you find(approximate) the corresponding Y values if you were given a million random numbers of X in the range from 10 to 14?

Réponse acceptée

the cyclist
the cyclist le 14 Fév 2017
Have you tried using interp1?
  5 commentaires
Valkmi
Valkmi le 16 Fév 2017
And now I realized that it is actually impossible.
Valkmi
Valkmi le 16 Fév 2017
I'll accept your answer as it was a proper solution to my problem first. Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by