Initial Commit.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
function [del_x, itp_y] = poly2_fit(y_1, y0, y1)
|
||||
|
||||
del_x = -1/2 * ((y1) - (y_1)) / ((y_1) - 2 * (y0) + (y_1));
|
||||
|
||||
itp_y = 1/2 * ((del_x-1) * del_x * (y_1) - 2 * (del_x - 1) * (del_x + 1) * (y0) + (del_x+1) * del_x * (y_1));
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user