This contribution includes a single MATLAB function ('harmonicY') that computes spherical harmonics of any degree and order, evaluated at arbitrary inclination, azimuth and radius. Capabilities include the computation of surface/solid, complex/real and normalized/unnormalized spherical harmonics.
Documentation is provided in the form of a live script with examples, as well as an HTML page for convenience and/or compatibility.
Javier Montalt Tordera (2019). Spherical Harmonics (https://www.mathworks.com/matlabcentral/fileexchange/69262-spherical-harmonics), MATLAB Central File Exchange. Retrieved .
- Definitely fixed file upload.
- Hopefully fixed file upload.
- Small changes to documentation.
Create scripts with code, output, and formatted text in a single executable document.