spharmPlot(L, resolution)

A simple function for plotting real basis of spherical harmonics with different orders.
849 Downloads
Updated 4 Dec 2014

View License

% Syntax:
% spharmPlot(L, resolution)
% spharmPlot(L)
% spharmPlot()
%
% Inputs:%
% L: degree of the functions, default value = 2;
% resolution: resolution of sphere surface, default value = 500.
%
% Results:
% green regions represent negative values
% red regions represent positive values

Cite As

Mengliu Zhao (2024). spharmPlot(L, resolution) (https://www.mathworks.com/matlabcentral/fileexchange/41613-spharmplot-l-resolution), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Corrected the sign of Legendre polynomials

1.0.0.0