<< chebyshev_poly Chebyshev chebyshev_variance >>

Orthogonal Polynomials >> Orthogonal Polynomials > Chebyshev > chebyshev_quadrature

chebyshev_quadrature

Returns nodes and weights of Gauss-Chebyshev quadrature

Calling Sequence

[x,w]=chebyshev_quadrature(n)

Parameters

n :

a 1-by-1 matrix of doubles, integer value, n>=0, the number of nodes.

x :

a n-by-1 matrix of doubles, the nodes

w :

a n-by-1 matrix of doubles, the weights

Description

Returns nodes x and weights w of Gauss-Chebyshev quadrature.

Examples

[x,w]=chebyshev_quadrature(6)

Authors


Report an issue
<< chebyshev_poly Chebyshev chebyshev_variance >>