pollegendrePab

Legendre polynomial basis in [a b].


Syntax
   V = pollegendrePab(n, domain)

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

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

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

See also
  polchebyshevTab, polchebyshevUab and polgegenbauerCab.