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.
引用格式
Ethan Kubatko (2024). quadGaussLegendre (https://www.mathworks.com/matlabcentral/fileexchange/94560-quadgausslegendre), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2021a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |