Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Best Fit Spherical Harmonics

  • To: mathgroup at
  • Subject: [mg127511] Re: Best Fit Spherical Harmonics
  • From: "Kevin J. McCann" <kjm at>
  • Date: Mon, 30 Jul 2012 22:15:17 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <jv5e9m$r56$>

The truncated Fourier fit to a function is also the least-squares fit. I 
have successfully done a spherical harmonic expansion with up to l=5 or 
so with all the associated m's this way. So, just use Fit. As usual with 
this sort of thing, noisy data can mess things up.

On 7/30/2012 3:49 AM, George wrote:
> Hello Guys,
> I have globally sparse data (Longitude, Latitude, DataValue) and I'd like to compute the best fit of those using spherical harmonics. Is there any code / example somewhere to do so?
> Thanks for any help.
> G.

  • Prev by Date: An optimization problem
  • Next by Date: Re: Mathematica as a New Approach to Teaching Maths
  • Previous by thread: Best Fit Spherical Harmonics
  • Next by thread: How do I create a circular lamina?