Finding the curvature of a 2nd degree equation
조회 수: 16 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Guillaume
2018년 6월 18일
Not sure what a second degree equation is. Is it a quadratic curve?
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)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!