필터 지우기
필터 지우기

Optimization of a Fitted Circle

조회 수: 3 (최근 30일)
Ian Wood
Ian Wood 2011년 7월 7일
Hi,
I'll try to explain this the best I can.. to start off, I am inexperienced with optimization techniques. I was asked to make an optimization program for the fit of a circle through random radii, by using a minimum of the maximum distance between actual and nominal approach. Can somebody instruct me on how to do this? I'll give the random data and the circle coordinates in code:
r = 10 + 0.1*rand(1000,1); % 1000 random radii
theta = linspace(0,2*pi,1000)'; % angles
x = r.*cos(theta); y = r.*sin(theta); % circle centred around the origin
Thanks

채택된 답변

Jan
Jan 2011년 7월 7일
Please inspect the methods published in the FEX: Search FEX for "fit circle". You will find 6 corresponding functions.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by