How to program Legendre Polynomial for Generalized Spherical Harmonics?

2 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Polynomials 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by