to the main index of PHYS261

Exploring hydrogen-like solutions using matlab scripts



matlab scripts are in YLMS.zip
    Spherical Harmonics

matlab scripts are in hydro.zip
   Hydrogen Radial Functions

Exploring the code - on a matlab installation:
The matlab scripts are in YLMS.zip  and  hydro.zip

Unpack each of the directories - hydro/ -  and ylms/
anfd direct matlab path to the desired one

In hydro  -  run script  hydro.m  (with graphical user inteface)
In ylms  - run   ylmspics.m   ( or one of the many scripts listed below )
Most important other script here is ylmspicbig.m - asks for L,M
Content of ylms:
legendre.m norm_fac.m numleg.m sphylm.m ylm.m     run this:       ylmpics.m
Try also other (e.g. ylm6sc.m - blue and coherent)
ylm22.m ylm4.m ylm4t.m ylm6.m ylm6sc.m ylmpic31.m ylmpic73.m
run this:   ylmpicbig.m