Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
my mistake, some pages are ok, but the matlab files are dead links.
let me make it up with this matlab code that should be very close to what you want (it actually defines then plots spherical harmonics)