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 #63532 is a reply to message #63522] Wed, 12 November 2008 05:29 Go to previous messageGo to previous message
xqinshan is currently offline  xqinshan
Messages: 21
Registered: November 2008
Junior Member
On 11月12日, 下午3时02分, Craig Markwardt <cbmarkwa...@gmail.com> wrote:
> On Nov 12, 12:25 am, xqinshan <xqins...@tom.com> wrote:
>
>> 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?
>
> Yes, but MPFITFUN is not limited to polynomials, it can be any
> function you wish, including multiple variables.
>
> http://www.physics.wisc.edu/~craigm/idl/fitqa.html#multivar
>
> If the user function is a linear combination of known functions, then
> SVDFIT can also be used.
>
> Craig

I have tried cof=svdfit([x,y],z,a=a), it returns "SVDFIT: The input X
must be a vector"!
[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: Fri Oct 10 13:21:59 PDT 2025

Total time taken to generate the page: 1.04082 seconds