LegendrePoly

This program returns the coefficients of the Legendre polynomial P_n, given n.

Vous suivez désormais cette soumission

This program returns the coefficients of the Legendre polynomial P_n, given n. The result is a row vector with powers of x decreasing from left to right (standard MATLAB notation). Like for other polynomials, LegendrePoly(n) can be evaluated at x by typing

polyval(LegendrePoly(n),x).

Citation pour cette source

David Terr (2026). LegendrePoly (https://fr.mathworks.com/matlabcentral/fileexchange/4890-legendrepoly), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : LegendreShiftPoly

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

I modified this function so that it returns a column vector.