Gaussian Quadrature for Triangles

Compute Gauss nodes and weights for a triangle

You are now following this Submission

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 .

Categories

Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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