Solve Spherical harmonics using lowering operator?

How would I put that operator into Matlab, and get it to display like spherical harmonics?
ie Y(2,2)=sqrt(15/8*pi)*sin(l)^(2)*exp(2*i*m)?
I tried creating a new operator, however, it keeps saying: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
Code attached, and question below.Thanks for the help!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

질문:

2018년 12월 10일

편집:

2018년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by