How to program Legendre Polynomial for Generalized Spherical Harmonics?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Benjamin Schuessler
el 5 de Sept. de 2018
Editada: Benjamin Schuessler
el 5 de Sept. de 2018
Hi All,
I am looking for some help on how to program/calculate the Legendre polynomial for generalized spherical harmonics.. I have been using the built-in functions legendre and legendreP with great success for some applications, but now with generalized spherical harmonics (Seen below) I need to add an extra term.
I don't know how matlab calculates legendre.m but I want to avoid using syms if possible. As I've been told it might make the calculations incredibly slow.
Any advice or help on how to go about this?
Thanks!
edit: title
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/195232/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/195233/image.png)
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Polynomials en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!