MATLAB: Orthogonal polynomial function in matlab similar to the R function poly()

orthogonal

Is there any function in matlab that can produce orthogonal polynomial like the R function poly() for equal spaced point? I didn't quite find the corresponding function.

Best Answer

The Legendre and Jacobi polynomials are orthogonal and can be easily generated in using the Symbolic Math Toolbox.
I also found this book on the subject which includes a number of code examples.
Related Question