How to fit a circle in the marked area of the image?
1 回表示 (過去 30 日間)
古いコメントを表示
I want to fit a circle at the peak (the marked area) of the wavy surface. How can I do that?
0 件のコメント
回答 (2 件)
KSSV
2020 年 6 月 13 日
If you fix the center C, radius R of the circle. You can plot circle using.
C = rand(1,2) ; % center of circle
R = 1. ; % Radius of the circle
th = linspace(0,2*pi) ;
x = C(1)+R*cos(th) ;
y = C(2)+R*sin(th) ;
plot(x,y) ;
0 件のコメント
Image Analyst
2020 年 6 月 13 日
Using the (x,y) coordinates, you can fit a circle using the FAQ:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Mathematics and Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!