POLYNOMIALCURVECENTROID Compute the centroid of a polynomial curve. C = polynomialCurveCentroid(T, XCOEF, YCOEF) XCOEF and YCOEF are row vectors of coefficients, in the form: [a0 a1 a2 ... an] T is a 1x2 row vector, containing the bounds of the parametrization variable: T = [T0 T1], with T taking all values between T0 and T1. C contains coordinate of the polynomila curve centroid. C = polynomialCurveCentroid(T, COEFS) COEFS is either a 2xN matrix (one row for the coefficients of each coordinate), or a cell array. C = polynomialCurveCentroid(..., TOL) TOL is the tolerance fo computation (absolute). Example polynomialCurveCentroid See also polynomialCurves2d, polynomialCurveLength ------ Author: David Legland e-mail: david.legland@gignon.inra.fr Created: 2007-02-23 Copyright 2007 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas.
Package: matgeom