polgegenbauerC

Gegenbauer polynomial basis in [-1 1].


Syntax
   V = polgegenbauerC(n, alphaC)

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

Input
   n      = orthogonal polynomial basis dimension (integer).
   alphaC = parameter for Gegenbauer polynomials.

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

See also
  polchebyshevT,
         polchebyshevU,
         pollegendreP,
         polhermiteH,
         pollaguerreL and
         polbesselY.