Numerical Integration on an Arbitrary Grid
Updated 8 Feb 2005
This script computes weights for numerically solving a definite integral on a finite interval where arbitrary grid points are chosen. Obviously, the Legendre points are optimal, but sometimes it is necessary to compute inner products on an unstructured grid.
Greg von Winckel (2023). Numerical Integration on an Arbitrary Grid (https://www.mathworks.com/matlabcentral/fileexchange/6864-numerical-integration-on-an-arbitrary-grid), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.