Home »
Public Forums »
archive »
Re: Fitting a second order polynomial with singular value decomposition
Re: Fitting a second order polynomial with singular value decomposition [message #59631] |
Fri, 04 April 2008 10:27 |
R.G. Stockwell
Messages: 363 Registered: July 1999
|
Senior Member |
|
|
"JoaoCarr" <jmbcarreiras@gmail.com> wrote in message
news:894d4397-ade3-4ea8-9f1b-97c309cb24fe@z38g2000hsc.google groups.com...
> Dear all,
>
> I'm trying to fit in IDL a function of the type:
>
> y = a0 + a1x1 + a2x1^2 + a3x2 + a4x2^2 + a5x3 + a6x3^2
>
> I've tried to use svdfit but I believe this procedure only allows
> functions of the type y=f(x).
>
> Any suggestion would be greatly appreciated.
You don't have to use svdfit, use the svd decomp routine (svdc, svsol).
You can make any matrix you like (i.e. any function, any dimensions)
|
|
|
Current Time: Fri Oct 10 03:09:37 PDT 2025
Total time taken to generate the page: 0.00664 seconds