Gaussian Quadrature for Triangles

Compute Gauss nodes and weights for a triangle
7.3K 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 (2024). 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

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