@legpoly/legpolyval()ΒΆ

Evaluate polynomial in Legendre basis (class legpoly).

Syntax:F = legpolyval(p,x)
Description:evaluates the polynomial p at the points specified by the vector (or matrix) x. The points in x must be in the interval \([a,b]\) where p is defined (this can be recovered by calling getDomain(p)).