scarecrow
- 139
- 0
I would appreciate some input about how to program spherical harmonics in Matlab.
http://mathworld.wolfram.com/SphericalHarmonic.html
I want to program a double summation that looks like this.
<br /> <br /> G(\Omega_{1},t_{1}|\Omega_{0}) = \sum_{l=0}^\infty \sum_{m=-l}^l \alpha^m_{l}(t_{1}) [\Gamma^m_{l}(\Omega_{0})]^* \Gamma^m_{l}(\Omega_{1})<br />
where \Gamma^m_{l}(\Omega_{i}) is a spherical harmonic and \alpha^m_{l} depends on l, m, and t.
Is there a spherical harmonic function in Matlab? I couldn't find anything except the Legendre polynomials.
http://mathworld.wolfram.com/SphericalHarmonic.html
I want to program a double summation that looks like this.
<br /> <br /> G(\Omega_{1},t_{1}|\Omega_{0}) = \sum_{l=0}^\infty \sum_{m=-l}^l \alpha^m_{l}(t_{1}) [\Gamma^m_{l}(\Omega_{0})]^* \Gamma^m_{l}(\Omega_{1})<br />
where \Gamma^m_{l}(\Omega_{i}) is a spherical harmonic and \alpha^m_{l} depends on l, m, and t.
Is there a spherical harmonic function in Matlab? I couldn't find anything except the Legendre polynomials.