orthogonal polynomial function in matlab similar to the R function poly()

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.

 Accepted 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.

More Answers (0)

Categories

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!