Cusplint2
2D Cubic Spine Interpolation
Syntax
cusplint2(x1, x2, y, t1, t2) |
x1, x2 are vectors of length of m and n, y is a n-by-m matrix, t1 and t2 are scalars |
Return a value interpolated from y = y(x1, x2) data set for (t1, t2) data point |
Example
Input |
Output |
x1 = linspace(0, PI/5.0, 6) x2 = linspace(0, 4, 5) y= transpose(exp(x2)) * sin(x1) cusplint2(x1, x2, y, pi/2, 0.5) |
See Also
Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad