Is there something similar to polyval for circle fitting?
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to grab tracked objects within a semicircle on the left and right of a vehicle. In the ACC test bed example within multi object tracking documentation on the website, to find a lead vehicle the matlab function uses...
yleftlane = polyval ([curvature, 0, halfLaneWidth], x);
This checks for any car half a lane width to the left within a curved road using the polyval function.
What I want to do is something like this...
yleftcircle = circularfit ([(pi/2)radius^2]); %% find lead vehicle half a circle to the left...
I cant seem to find any circular fitting except for downloaded ones.
Any recommendations or advice?
0 件のコメント
採用された回答
Image Analyst
2023 年 9 月 7 日
What's wrong with downloaded functions? I'm attaching one I use, along with a paper for more general purpose one.
2 件のコメント
Image Analyst
2023 年 9 月 8 日
I have no idea how to determine, in a cluster of several/numerous points, which is "more important" or "the main one." Sorry.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Downloads についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!