Gaussian Quadrature for Triangles

Compute Gauss nodes and weights for a triangle
7.4K Downloads
Updated 21 Dec 2005

View License

This script computes Gauss nodes and weights for numerically integrating a fuction over an arbitrary triangular domain. Note: This method uses the collapsed square rather than the general cubature case.

Cite As

Greg von Winckel (2026). Gaussian Quadrature for Triangles (https://www.mathworks.com/matlabcentral/fileexchange/9230-gaussian-quadrature-for-triangles), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Sign of weights depended on ordering of vertices through the Jacobian. This has been fixed.