Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Best fit Spherical harmonics' topicStudent Support Forum > General > Archives > "Best fit Spherical harmonics"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
08/03/12 2:50pm

Does something like this work?

$max = 3;
Fit[data,
Flatten@Table[
SphericalHarmonicY[l, m, \[Theta], \[Phi]] /. {E^x_ :> {Cos[x/I], Sin[x/I]}}, {l, 0, $max}, {m, 0, l}], {\[Theta], \[Phi]}]

How far to take it -- the value of $max -- is a bit of an art, beyond my skill.

URL: ,

Subject (listing for 'Best fit Spherical harmonics')
Author Date Posted
Best fit Spherical harmonics George 07/29/12 8:29pm
Re: Best fit Spherical harmonics Michael 08/03/12 2:50pm
< Previous CommentHelp | Reply To Comment | Reply To Topic