Difference between revisions of "Interpolation functions"
Line 25: | Line 25: | ||
|3 | |3 | ||
|} | |} | ||
− | + | Array_a: | |
+ | {| class="wikitable" | ||
+ | ! | ||
+ | ! colspan="3" |Index_b | ||
+ | |- | ||
+ | !Index_a: | ||
+ | !1 | ||
+ | !2 | ||
+ | !3 | ||
+ | |- | ||
+ | |a | ||
+ | |7 | ||
+ | |<nowiki>-3</nowiki> | ||
+ | |1 | ||
+ | |- | ||
+ | |b | ||
+ | |<nowiki>-4</nowiki> | ||
+ | |<nowiki>-1</nowiki> | ||
+ | |6 | ||
+ | |- | ||
+ | |c | ||
+ | |5 | ||
+ | |0 | ||
+ | |<nowiki>-2</nowiki> | ||
+ | |} | ||
==See Also== | ==See Also== | ||
<footer>Relational tables and multiD arrays / {{PAGENAME}} / Fourier Transform</footer> | <footer>Relational tables and multiD arrays / {{PAGENAME}} / Fourier Transform</footer> |
Revision as of 23:56, 12 December 2015
These three functions interpolate across arrays. Given arrays y and x with a common index i, these functions interpolate a value for y corresponding to value v along the x axis.
LinearInterp() and CubicInterp() use these variables:
Index_a:
a | b | c |
Index_b:
1 | 2 | 3 |
Array_a:
Index_b | |||
---|---|---|---|
Index_a: | 1 | 2 | 3 |
a | 7 | -3 | 1 |
b | -4 | -1 | 6 |
c | 5 | 0 | -2 |
See Also
Comments
Enable comment auto-refresher