Back to Polynomial Functions
lagfit
Least-squares Laguerre fit
Syntax
c = lagfit(x, y, deg)
Description
Fits a Laguerre polynomial of the given degree to data using least squares.
Parameters
| Name | Description |
|---|---|
| x | x values |
| y | y values |
| deg | Degree of fitting polynomial |
Returns
Laguerre coefficient array