is interp1(x, v, x(k), mtd) == v(k) always true?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Naor Movshovitz
le 5 Déc 2016
Commenté : Naor Movshovitz
le 5 Déc 2016
is
interp1(x, v, x(k), mtd) == v(k)
always true or does it depend on method and/or type of x and v? Followup: is the answer documented?
2 commentaires
Réponse acceptée
Walter Roberson
le 5 Déc 2016
Yes, guaranteed. interp1 calls griddedInterpolant to do the work and that routine says,
"This surface always passes through the sample values at the point locations."
2 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!