PO.Spline.Cubic.Intersect
Calculates x value of intersection point between two cubic splines. When they cross more than once, occurrence picks which crossing (1 or omitted: the first, -1: the last).
Syntax
=PO.Spline.Cubic.Intersect(x_values_1, y_values_1, x_values_2, y_values_2, [occurrence])Parameters
| Parameter | Description |
|---|---|
x_values_1 |
The x coordinate values for the first set of points. |
y_values_1 |
The y coordinate values for the first set of points. |
x_values_2 |
The x coordinate values for the second set of points. |
y_values_2 |
The y coordinate values for the second set of points. |
occurrence |
Optional. Which crossing, in x order: 1 or omitted for the first, 2 for the second, -1 for the last. |
Related functions
PO.Math.DataDiffCalculates derivative for data samples at point t with smoothing.PO.Spline.Cubic.DiffCalculates first derivative using natural cubic spline interpolation.PO.Spline.Cubic.IntegCalculates definite integral using natural cubic spline interpolation from the start up to point t.PO.Spline.Cubic.IntegT1T2Calculates definite integral using natural cubic spline interpolation from point t1 to point t2.PO.Spline.Cubic.InterpCalculates interpolated value using natural cubic spline interpolation.PO.Spline.Cubic.Intersect.AllCalculates the x values of every intersection point between two cubic splines, in x order, as a column.
Missing a formula? Suggest a new one