Mike Buess
USA
3037 Posts |
Posted - 09/12/2007 : 12:41:10 PM
|
You must create a third fitting function with two dependent variables. If the datasets share the same X column you can get away with one independent variable as shown in the top figure which illustrates the approach for two hypothetical functions, funcA and funcB, each with two parameters, a and b. If the X values are different you'll need two independent variables, xA and xB.
Of course the details are in how to express the functions. If you created both functions yourself you'll just have to write them out completely. Built-in fitting functions have corresponding LabTalk functions which can be used to shorten the expressions. You can find the LabTalk functions for built-in fitting functions here...
http://www.originlab.com/pdfs/curvefittingfunctions.pdf
If you have O70 or O75 I suggest you use OriginC, in which case the LabTalk functions cannot be called directly... The bottom figure shows how to use LabTalk's Lorentz and Gauss functions in OriginC.


Mike Buess Origin WebRing Member |
 |
|