image thumbnail

Weighted Grid Points

version (1.48 KB) by Greg von Winckel
Computes the Lobatto points for an arbitrary weight.


Updated 10 Jan 2005

View License

Construct a symbolic nonnegative weighting function w(x) on the interval [-1,1] and this script constructs the family of polynomials which are orthogonal with respect to the weight. Then the extrema of the highest polynomial are computed. Examples: w=1*x^0 gives the Legendre Lobatto points and w=1/sqrt(1-x^2) gives the Chebyshev Lobatto points. Useful for pseudospectral/collocation methods.

Cite As

Greg von Winckel (2021). Weighted Grid Points (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!