Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

any other method rather than polonomials for curve fitting?

Status
Not open for further replies.

THUNDERRr

Full Member level 3
Joined
Nov 11, 2007
Messages
189
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,239
i have y=f(x1,x2)
i could draw 2 curves 1-y wrt x1 and 1- y wrt x2
how i can find the equations?
i know using curve fitting but can i find it in another form rather tha polynomial
 

flatulent

Advanced Member level 5
Joined
Jul 19, 2002
Messages
4,629
Helped
489
Reputation
980
Reaction score
150
Trophy points
1,343
Location
Middle Earth
Activity points
46,689
Re: any other method rather than polonomials for curve fitt

The old HP pocket calculators had built in linear, exponential, and log fitting.
 

albbg

Advanced Member level 4
Joined
Nov 7, 2009
Messages
1,250
Helped
433
Reputation
866
Reaction score
386
Trophy points
1,363
Location
Italy
Activity points
9,465
Re: any other method rather than polonomials for curve fitt

I think you can try this on-line fitting tool:

https://www.zunzun.com/

regards,
Alberto
 

Peter Nachtwey

Newbie level 4
Joined
Nov 10, 2009
Messages
6
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Location
Vancouver, WA
Activity points
1,335
Re: any other method rather than polonomials for curve fitt

THUNDERRr said:
i have y=f(x1,x2)
i could draw 2 curves 1-y wrt x1 and 1- y wrt x2
how i can find the equations?
Hopefully you know the general form of the equation so you only need to find the coefficients.

i know using curve fitting but can i find it in another form rather tha polynomial
Using polynomials is the most general method if you have no clue what the form of the equations is. It takes a lot of processing power to find the coefficients because there are so many if you want to be accurate.

VSWR posted a link. In that link is another link. I usually use the Levenberg-Marquardt algorithm.

Log fitting such as y=x1*ln(x2) or exponential fitting y=x1*exp(x2) assume you now the general relationships or form of the equation.

A polynomial that estimates both x1 and x2 with a 7th order polynomial would require finding 64 coefficients but the computer is doing the work.

Programs such as Scilab(free) and Matlab have optimization routines that make it easy to find the coefficients of a polynomial. There are usually two forms of optimization functions. The L-M algoirthm and the BFGS or L-BFGS algorithm.
Coding functions goes quickly. Waiting for the computer to find the coefficients that minimize the error between the estimating function and the actual data may take a while.

If you do research and understand the physics of the data acquired then you should know the general form the equation. Otherwise use the brute force polynomial approach.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top