Methods to calculate curvature
92 ビュー (過去 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!