polgegenbauerCab

Gegenbauer polynomial basis in [a b].


Syntax
   V = polgegenbauerCab(n, domain, alphaC)

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

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

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

See also
  polchebyshevTab, polchebyshevUab and pollegendrePab.