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
Iveta_
Posted - 09/06/2021 : 2:36:57 PM Origin Ver. and Service Release (Select Help-->About Origin): Origin 2021b (64-bit) SR2, 9.8.5.212 (Academic) Operating System: Windows 10
One function I am trying to set up includes an independent variable (I hope this is the right term in this case), which depends on the data that will be fit (i.e. it is not a constant). This variable must be derived from the worksheet itself where the data come from, but it is *not* used in the plotting of the fit.
For example I have columns A (independent variable x ), B (dependent variable y), C (the weighting factor). I also have a column D which contains the additional variable (a vector of values) that has to go into the function. Is there any way to implement this in my user-defined function?
Many thanks!
1 L A T E S T R E P L I E S (Newest First)
YimingChen
Posted - 09/07/2021 : 10:18:05 AM Is col(D) dependent on col(A)?
If yes, you may define col(D) as a function of col(A) in the fitting function.
If no, can you fit with two independent variables col(A) and col(D). You can still plot the fitted y as a function of only col(A) by using the data in the report sheet.