## pollegendrePab

Legendre polynomial basis in [a b].

Legendre polynomial basis in [a b].

V = pollegendrePab(n, domain)

V = pollegendrePab(n, domain) constructs the V matrix such that XV = P, where P are Lengendre polynomials and X = [x^0, x^1, ...].

n = orthogonal polynomial basis dimension (integer). domain = domain [a b] of orthogonality (double vector).

V = matrix such that XV = P (double matrix).

polchebyshevTab, polchebyshevUab and polgegenbauerCab.