SPARSE_GRID_TOTAL_POLY is a MATLAB library which investigates the limits of total polynomial approximation using sparse grids.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
NINT_EXACTNESS, a MATLAB program which measures the polynomial exactness of an M-dimensional quadrature rule defined over a finite rectangular product region.
SPARSE_GRID_CC, a MATLAB library which creates sparse grids based on Clenshaw-Curtis rules.
You can go up one level to the MATLAB source codes.