Finding the curvature of a 2nd degree equation

7 ビュー (過去 30 日間)
Ricardo Fuertes
Ricardo Fuertes 2018 年 6 月 18 日
回答済み: Guillaume 2018 年 6 月 18 日
I have a 2nd degree equation that represents the trayectory of a moving object (in x and y). What i want to find is the curvature ( the reciprocal of the radius of curvature) of said trayectory. I was thinking about finding 3 points in the curve and finding the osculating circle, but I wasnt sure if there was a faster way to do it in mathlab.

回答 (1 件)

Guillaume
Guillaume 2018 年 6 月 18 日
Not sure what a second degree equation is. Is it a quadratic curve?
Anyway, the wikipedia article on curvature gives you the equations.
If your curve is indeed a quadratic curve, then you can even calculate the curvature analytically. Otherwise, assuming your function is of the form y = f(x),
K = gradient(gradient(y, x), x) ./ (1 + gradient(y, x).^2).^(3/2)

カテゴリ

Help Center および File ExchangeQuadratic Programming and Cone Programming についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by