Kevin
2012-10-06 06:29:56 UTC
I have a set of points in 2D space. I want to find the tangent in every point(Especially the first and last points) in the curve generated by the points. I do not have the equation to the curve.
My thoughts:
I was thinking of doing the interpolation[Cubic Interpolation] on the points to get the curve equation. And later finding the derivative of the curve at the required point to get the tangent. But this method fails because the existing interpolation methods don't need to find the equation of the curve. They have an approximate method which generates the next set of points without the equation. I don't know how to find the derivative by that particular method mainly because I don't understand it.
Please post your thoughts on this, any other method you'd follow, or any links I can follow and help me out. Thanks. :)
My thoughts:
I was thinking of doing the interpolation[Cubic Interpolation] on the points to get the curve equation. And later finding the derivative of the curve at the required point to get the tangent. But this method fails because the existing interpolation methods don't need to find the equation of the curve. They have an approximate method which generates the next set of points without the equation. I don't know how to find the derivative by that particular method mainly because I don't understand it.
Please post your thoughts on this, any other method you'd follow, or any links I can follow and help me out. Thanks. :)