Function Reference
— Loadable Function: [r, amat, bmat, q] = colloc (n, "left", "right")

Compute derivative and integral weight matrices for orthogonal collocation using the subroutines given in J. Villadsen and M. L. Michelsen, Solution of Differential Equation Models by Polynomial Approximation.