quadGaussLegendre
Version 1.0.0 (73.4 KB) by
Ethan Kubatko
Gauss–Legendre quadrature weights and points for numerical integration.
Q = quadGaussLegendre(n), where n is a positive integer, returns the n-point Gauss–Legendre quadrature rule Q as a stucture with fields Q.Points and Q.Weights, which store the n points (in ascending order) and corresponding weights, respectively, of the quadrature rule. An additional field, Q.Properties, stores the degree, type and interval, or domain, of the quadrature rule (the default domain is [-1,1]) in subfields .Degree, .Type and .Domain, respectively.
Cite As
Ethan Kubatko (2026). quadGaussLegendre (https://nl.mathworks.com/matlabcentral/fileexchange/94560-quadgausslegendre), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
