MATLAB Answers

How do I get the value of the associated Legendre function P^n_m(x) where P^n_0(x) is the Legendre polynomial?

3 views (last 30 days)
Kevin Cahill
Kevin Cahill on 12 Oct 2018
Edited: David Goodmanson on 12 Oct 2018
How do I get the value of the associated Legendre function P^n_m(x) where P^n_0(x) is the Legendre polynomial?
The Matlab webpage on associated Legendre functions has legendre(n,X) and legendre(n,X,normalization). Where is the index m?

  0 Comments

Sign in to comment.

Answers (1)

David Goodmanson
David Goodmanson on 12 Oct 2018
Edited: David Goodmanson on 12 Oct 2018
Hi Kevin,
If try, say legendre(5,.1) you get an output vector for all values of m <=5.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!