Loading…
Polyfit — A package for polynomial fitting
Polynomials P( x) of arbitrary degree are fitted with or without constraints, to a given set of points ( X n , Y n ), n = 1,…, N; N > 1, using the least squares method. A weight ω n may be assigned to each point and/or an error — or fluctuation — Δ Y n to the respective Y n 's. Two kinds of...
Saved in:
Published in: | Computer physics communications 1989-03, Vol.52 (3), p.427-442 |
---|---|
Main Author: | |
Format: | Article |
Language: | English |
Subjects: | |
Citations: | Items that this one cites Items that cite this one |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | Polynomials
P(
x) of arbitrary degree are fitted with or without constraints, to a given set of points (
X
n
,
Y
n
),
n = 1,…,
N;
N > 1, using the least squares method. A weight ω
n
may be assigned to each point and/or an error — or fluctuation — Δ
Y
n
to the respective
Y
n
's. Two kinds of constraints may be specified: 1) Fixed subset of the polynomial's coefficients and 2)
P(
ξ
q
) =
η
q
,
q = 1,…,
Q,
Q > 0 for given points (
ξ
q
,
η
q
),
q = 1,…,
Q. The problem is reduced to a system of linear equations solved by the Gauss reduction technique. |
---|---|
ISSN: | 0010-4655 1879-2944 |
DOI: | 10.1016/0010-4655(89)90117-3 |