orth2powmatrix
Orthogonal to power matrix.
Syntax
V = orth2powmatrix(n, basis, domain)
Description
V = orth2powmatrix(basis, domain, n, varargin) returns the V matrix
such that XV = P, where X = [x^0, x^1, ...] is the power series and
P = [P_1, P_2, ...] is the orthogonal basis.
Inputs
n = dimension of orthogonal polynomial basis (integer).
basis = orthogonal polynomial basis:
'ChebyshevT' to Chebyshev of first kind,
'ChebyshevU' to Chebyshev of second kind,
'LegendreP' to Legendre,
'HermiteH' to Hermite and
'LaguerreL' to Laguerre.
domain = domain [a b] of orthogonality.
Output
V = V matrix such that XV = P (double matrix).
See also
pow2orthmatrix.
V = orth2powmatrix(basis, domain, n, varargin) returns the V matrix such that XV = P, where X = [x^0, x^1, ...] is the power series and P = [P_1, P_2, ...] is the orthogonal basis.
Inputs
n = dimension of orthogonal polynomial basis (integer).
basis = orthogonal polynomial basis:
'ChebyshevT' to Chebyshev of first kind,
'ChebyshevU' to Chebyshev of second kind,
'LegendreP' to Legendre,
'HermiteH' to Hermite and
'LaguerreL' to Laguerre.
domain = domain [a b] of orthogonality.
Output
V = V matrix such that XV = P (double matrix).
See also
pow2orthmatrix.
V = V matrix such that XV = P (double matrix).