Math. function maker urgently required!

Nov 18, 2005 5 Replies

Dear Dudes,



Urgently wanted: Is any software , able to model neumerus X per (Y1, Y2, Y3,...Yn) date values by a math. function. e.g. : X= 7.75000E-02 5.77500E-01 1.07750E+00 1.77750E+00 2.07750E+00



Y1=1.4799E-04 1.9206E-05 1.1978E-06 9.7149E-10 3.4080E-13



Y2=3.9492E-04 6.0642E-05 5.1197E-06 1.6097E-08 1.1566E-10



Y3= ... and so on.



Looking for a function (not polynomial, serie,... but a final algebraic function like: Yn=a.Ln(-b.X+c) or some final formula which can model such behviors. No matter how many coefficient this function may have. of course each Yn differs with other by some constants.



Already known that aimed eq. is not linear, and not sure if matlab could do what we want, or?



Many thanks for your notice, Looking forward to your reply,



Best regards, Bernard Luis



Bernard, What is the maximum allowable normalized error of the function? By normalized error, I mean (Yapprox-Yexact)/Yexact. Regards, Jon

This is generically called "curve fitting". Polynomials are a special (easy) case.

In your example data, I see X changing by 2 orders of magnitude and Y1 changing by 9 orders of magnitude. This strongly implies that the function that you fit with should have some physical justification, e.g. just a polynomial won't stand much chance of being useful and even choosing logs/exponents may not be of much use either (certainly not for extrapolation, possibly of use for interpolation.)

Tim.

There are an infinite number of multiple-input, single-output functions out there. You aren't clear, however, on whether your function is known or if you're trying to find it. If the function is known then you should be able to use just about any software package to generate it.

If you're trying to _find_ the function from data then Matlab can do it as well as anything else; you just may have to write the code yourself. Multivariate function finding would be quite a minefield. I wouldn't try it from data alone -- you should have some idea about the process that generates the data, and if you can't exactly model it with a fixed function you should at least attempt to separate it into smaller chunks that can be found independently.

There's an applied math newsgroup that may be good to ask this question on.

Tim Wescott Wescott Design Services http://www.wescottdesign.com

First you say you do not want a polynomial, then you say you do not care "how many coefficient this function may have". Make up your mind.

There are interpolating and approximating functions, BTW.

Rene

Ing.Buero R.Tschaggelar - http://www.ibrtses.com & commercial newsgroups - http://www.talkto.net

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required