Methods to calculate curvature
90 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am trying to calculate the curvature of a series of points. The distance in x between those points is never the same. The distance (in x,y) also varies between 0 and 1.
I tried both these functions (https://www.mathworks.com/matlabcentral/fileexchange/69452-curvature-of-a-2d-or-3d-curve and https://www.mathworks.com/matlabcentral/fileexchange/32696-2d-line-curvature-and-normals) without success.
The problem: Sometimes, when the distance (in x,y) is really small (0.1) , the curvature (respectively the radius) of a straight line becomes too big (respectively small) when it should be the opposite. I think the distance in x,y or perhaps just in x should stay the same for it to work. But I can't be really sure. Does the distance play that big a role? Could it be linked to noise in the series of points? If so, what should I do to get accurate results?
Thank you in advance for your help.
Regards,
LD
2 个评论
Jan
2019-6-25
Please explain this sentence: "the curvature (respectively the radius) of a straight line becomes too big (respectively small) when it should be the opposite" The curvature of a straight line should be 0, so I do not understand "too big" and "respectively small". 0.1 does not sound "really small".
Of course noise influence the results. For a line, which is expected to be straight, a curvature different from 0 is even dominated by noise. So please post more details, preferrably some data, which demonstrate the observed effect.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!