User`s guide
Least Squares Polynomial Fit
5-262
to generate four values of dependent variable y from four values of independent
variable u, received at the top port. The polynomial coefficients are supplied in
the vector
[-203] at the bottom port. Note that the coefficient of the
first-order term is zero.
The
Control points parameter of the Least Squares Polynomial Fit block is
configured with the same four values of independent variable u that are used
as input to the Polynomial Evaluation block,
[1 2 3 4]. The Least Squares
Polynomial Fit block uses these values together with the input values of
dependent variable y to reconstruct the original polynomial coefficients.
Dialog Box
Control points
The values of the independent variable to which the data in each input
column correspond. For an M-by-N input, this parameter must be a
length-M vector. Tunable.
Polynomial order
The order, n, of the polynomial to be used in constructing the best fit. The
number of coefficients is n+1. Tunable.