fitting cone to points

7 views (last 30 days)
Farsat Balata
Farsat Balata on 17 Jan 2012
Answered: Shamsh on 31 Mar 2014
I have a set of data points from the surface of a cone...does anyone have or know of code for calculating the apex and radius of the cone base using a least square fit? ., or another method would be fine too. The general cone equation in special case is
(x-a)^2+(y-b)^2=((z-c)R)^2
where(a,b,c) is the apex and R is the radius of its base

Answers (2)

Walter Roberson
Walter Roberson on 17 Jan 2012
Instead of posting your question a third time, you could have answered the question asked of you before, namely "Are you attempting to solve for all four variables, a, b, c, and R?" It is difficult for people to assist you when you do not clarify what you need.
Please do not put your entire question in the Title. Please use a short but meaningful title such as I have changed your title to here.
Please use a meaningful Tag instead of "1".

Shamsh
Shamsh on 31 Mar 2014
I have the data points from the fixture from the surface of the cone. Is it possible to fit the general equation of cone using least square from this data points.
In great needs, please provide suggestion regarding the same.

Categories

Find more on Curve Fitting Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!