fit.ellipse: Fit an ellipse with least squares

Description Usage Arguments Value

Description

Least squares fitting of an ellipse to point data.

Usage

1
fit.ellipse(x, y = NULL)

Arguments

x

Vector specifying the x coordinates of data points

y

Vector specifying the y coordinates of data points. Defults to NULL. If a single arg is provided it is assumed to be a two column matrix.

Value

coef Coefficients of the ellipse as described by the general quadratic: ax^2 + bxy + cy^2 + dx + ey + f = 0.

center Center x and y

major Major semi-axis length

minor Minor semi-axis length


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.