Weighted Grid Points

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 (2024). Weighted Grid Points (https://www.mathworks.com/matlabcentral/fileexchange/6691-weighted-grid-points), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Interpolating Gridded Data in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Missing information: requires earlier script collocD.m file ID 5515 to run correctly.