image thumbnail

n-dimensional simplex quadrature

version 1.0.0.0 (2.18 KB) by Greg von Winckel
% Construct Gauss points and weights for a n-dimensional simplex

5.3K Downloads

Updated 27 Dec 2005

View License

This script computes the weights and nodes for a Gauss quadrature rule on an n-dimensional simplex. The user can either specify the vertices of the simplex or only the dimension and the vertices of the unit simplex will then be used.

The first four simplexes are

n | Domain
--|------------
1 | Interval
2 | Triangle
3 | Tetrahedron
4 | Pentatope

Thanks to John D'Errico for helping with this script.

Cite As

Greg von Winckel (2021). n-dimensional simplex quadrature (https://www.mathworks.com/matlabcentral/fileexchange/9435-n-dimensional-simplex-quadrature), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!