comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 2-d fitting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 2-d fitting [message #63613 is a reply to message #63522] Wed, 12 November 2008 17:39 Go to previous message
xqinshan is currently offline  xqinshan
Messages: 21
Registered: November 2008
Junior Member
On 11月13日, 上午2时00分, "R.G. Stockwell" <notha...@noemail.com> wrote:
> "xqinshan" <xqins...@tom.com> wrote in message
>
> news:2dec9a37-fe3b-4999-a80b-e47d06c5e13a@v22g2000pro.google groups.com...
>
>> Hi,
>> I have a set of data zi at indepent vaiables (xi,yi). I want to get
>> coefficients of a fiting function such as f(x,y)=a*f1(x,y)+b*f2(x,y)
>> +c*f3(x,y)+..., f1(x,y),f2(x,y)... are given by myself. If f1(x,y),f2
>> (x,y)... are polunomials, we can use sfit or mpfitfun to do it. Are
>> there any routins to do it?
>
>> thanks,
>
>> Xqinshan
>
> Just write out the A matrix (in Ax = b, where x is unknown, b is your data,)
> and fire it off to the svd routines.
>
> The 'two dimensions' are just columns.
> For instance:
> 1, x,y,xy,x^2,y^2
>
> Cheers,
> bob

Good! Thank you.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: latitude, longitude and a data point
Next Topic: How to control character size freely?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 23:08:23 PDT 2025

Total time taken to generate the page: 0.48164 seconds