is interp1(x, v, x(k), mtd) == v(k) always true?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Naor Movshovitz
am 5 Dez. 2016
Kommentiert: Naor Movshovitz
am 5 Dez. 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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 5 Dez. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!