quadrature_weights_vandermonde_test, a MATLAB code which calls quadrature_weights_vandermonde(), which computes the weights of a quadrature rule, assuming that the points have been specified, by setting up a linear system involving the Vandermonde matrix.
The computer code and data files described and made available on this web page are distributed under the MIT license
quadrature_weights_vandermonde, a MATLAB code which computes the weights of a 1D quadrature rule using the vandermonde matrix, assuming that the points have been specified.