is interp1(x, v, x(k), mtd) == v(k) always true?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Naor Movshovitz
il 5 Dic 2016
Commentato: Naor Movshovitz
il 5 Dic 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?
Risposta accettata
Walter Roberson
il 5 Dic 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Multirate Signal Processing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!