Back to Polynomial Functions
legval
Evaluate Legendre polynomial
Syntax
y = legval(x, c)
Description
Evaluates a Legendre polynomial at point x.
Parameters
| Name | Description |
|---|---|
| x | Point at which to evaluate |
| c | Legendre coefficient array |
Returns
Polynomial value at x
Examples
Try It
>> legval(0.5, [1 2 3])