Closed GregVernon closed 5 years ago
Lets see if we can programmatically (using symbolic toolbox) generate the Gauss-Legendre quadrature table (see below)
Things we'll need:
solve(_,'MaxDegree',p)
vpasolve
Good work so far @hopdahl
Note that to complete the GLQ table we need to compute the x_i and w_i values.
x_i is simply the roots of the Legendre polynomials w_i is then:
Lets see if we can programmatically (using symbolic toolbox) generate the Gauss-Legendre quadrature table (see below)
Things we'll need:
solve(_,'MaxDegree',p)
(documentation)vpasolve
(documentation)