Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
nihonlabmonkey
Posted - 07/29/2009 : 01:54:24 AM Origin Ver. 8.0951 and Service Release 4: Operating System:Vista
Hello,
I am sure that this is a simple problem, but for the life of me I cannot find out how to do this.
I have a simple data set of x and y that I want to fit using a user defined non-linear curve fit. The function I need to fit it to has a number of terms, but all of these terms are simple functions of x. Grossly simplified, I mean something along the lines of:
y=a*cos(x*b+c)*d*(x^e)+f*x
a,b,c,d,e and f are all simple fitting parameters. (Please note that this is not really my function.) What I would like to do is fit this function by doing something like:
y=ALPHA*BETA+GAMMA where ALPHA=a*cos(DELTA) BETA=d*(x^e) GAMMA=f*x DELTA=x*b+c
The main reason for doing this is that in reality my function is much more complicated than the example I have given, so typing it all out in one line is very error prone. If anybody could point me along the right lines I would greatly appreciate it because I am sure that there must be a simple way to do this and I will probably feel a little foolish when it is explained to me.