File:Spherical harmonics.png: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Paul Wormer
({{ Information |Description= Some illustrative real spherical harmonics |Source= Prepared by the aid of Matlab: theta = [0:5:180]*pi/180; phi = [0:5:360]*pi/180; [Theta, Phi] = meshgrid(theta, phi); H = abs(1); X = H.*sin(Theta).*cos(Phi); Y = H.*sin(Theta).*sin(Phi); Z = H.*cos(Theta); subplot(2,3,1) surf(X,Y,Z) title('Y_0^0 = 1') axis equal off H = abs(cos(Theta)); X = H.*sin(Theta).*cos(Phi)...)
 
(== Summary == Importing file)
Tag: Server-side upload
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Summary ==
== Summary ==
    {{
Importing file
 
    Information
 
    |Description= Some illustrative real spherical harmonics
 
    |Source= Prepared by the aid of Matlab:
 
    theta = [0:5:180]*pi/180;
    phi  = [0:5:360]*pi/180;
    [Theta, Phi] = meshgrid(theta, phi);
 
    H    = abs(1);
    X    =  H.*sin(Theta).*cos(Phi);
    Y    =  H.*sin(Theta).*sin(Phi);
    Z    =  H.*cos(Theta);
    subplot(2,3,1)
    surf(X,Y,Z)
    title('Y_0^0 = 1')
    axis equal off
 
    H    = abs(cos(Theta));
    X    =  H.*sin(Theta).*cos(Phi);
    Y    =  H.*sin(Theta).*sin(Phi);
    Z    =  H.*cos(Theta);
    subplot(2,3,2)
    surf(X,Y,Z)
    title('Y_1^0 =  cos\theta')
    axis equal off
 
    H    = abs(3*cos(Theta).^2-1);
    X    =  H.*sin(Theta).*cos(Phi);
    Y    =  H.*sin(Theta).*sin(Phi);
    Z    =  H.*cos(Theta);
    subplot(2,3,3)
    surf(X,Y,Z)
    title('Y_2^0 =  3cos^2\theta-1')
    axis equal off
 
    H    = abs(cos(Theta).*sin(Theta).*sin(Phi));
    X    =  H.*sin(Theta).*cos(Phi);
    Y    =  H.*sin(Theta).*sin(Phi);
    Z    =  H.*cos(Theta);
    subplot(2,3,4)
    surf(X,Y,Z)
    title('^sY_2^1 =  cos\theta sin\theta sin\phi')
    axis equal off
 
    [Theta, Phi] = meshgrid(theta, phi);
    H    = abs(5*cos(Theta).^3-3*cos(Theta));
    X    =  H.*sin(Theta).*cos(Phi);
    Y    =  H.*sin(Theta).*sin(Phi);
    Z    =  H.*cos(Theta);
    subplot(2,3,5)
    surf(X,Y,Z)
    title('Y_3^0=5cos^3\theta-3cos\theta')
    axis equal off
 
    H    = abs( (5*cos(Theta).^2-1).*cos(Phi).*sin(Theta) );
    X    =  H.*sin(Theta).*cos(Phi);
    Y    =  H.*sin(Theta).*sin(Phi);
    Z    =  H.*cos(Theta);
    subplot(2,3,6)
    surf(X,Y,Z)
    title('^cY_3^1=(5cos^2\theta-1)sin\theta cos\phi')
    axis equal off
 
 
    |Date= 04/09/2007
 
    |Author= Paul Wormer
 
    |Permission= See licensing data below
 
    }}
 
 
 
== Licensing/Copyright status ==
{{GFDL}}

Latest revision as of 18:54, 11 March 2022

Summary

Importing file

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:54, 11 March 2022Thumbnail for version as of 18:54, 11 March 20221,201 × 900 (59 KB)Maintenance script (talk | contribs)== Summary == Importing file

The following page uses this file:

Metadata