legtools Matlab tools for Legendre polynomials, collected here because I keep copying them between projects. For a self-test, run runtests('tests') For usage ideas, see tests in tests/