Author |
Topic  |
|
fabif
Germany
12 Posts |
Posted - 02/12/2016 : 10:02:16 AM
|
Origin Ver. 2015G and Service Release: SR2 Operating System: Windows 7
I am trying to create a labtalk script that allows the performing of a nonlinear fit for several datasets with shared global parameters using a selfmade fitting function (HS_Eq21). The input data that has to be fitted should be taken from different worksheets. The nonlinear function consists of three independent (time, Temp, Taup) and a dependent (HS) variable. What will be the easiest way to include the input data from different worksheets into each of the four variables? I tried to solve the problem by using the range data type but failed: e.g. range time_sheet1 = [Worksheet1]Sheet1!col(1) range time_sheet2 = [Worksheet1]Sheet2!col(1) range time =(time_sheet1, time_sheet2) I want to call the NLFIT session with the following code: nlbeginr irng:=(time,Temp,Taup,HS) func:=HS_Eq21 nltree:=tt mode:=global;
Thanks for your help! |
Edited by - fabif on 02/12/2016 2:23:19 PM |
|
JokerOne
Germany
58 Posts |
Posted - 02/12/2016 : 11:10:17 AM
|
I am not sure, if you can combine ("sum up") ranges with range range_c = (range_a,range_b)?
Maybe (?) range_c = range_a+range_b works ??
However, you might have a typo in:
range time =(time_sheet1 [ONE!], time_sheet1 [ONE AS WELL, MIGHT BE TWO?])
|
 |
|
|
Topic  |
|
|
|