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 smc.vnet.net
  • Subject: [mg127511] Re: Best Fit Spherical Harmonics
  • From: "Kevin J. McCann" <kjm at KevinMcCann.com>
  • Date: Mon, 30 Jul 2012 22:15:17 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <jv5e9m$r56$1@smc.vnet.net>

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.

Kevin
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?