Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2019b (64-bit) 9.6.5.169 (Academic)
Operating System:Windows 10
Hi
I want to make a user defined function for fitting some data. The function contains variables which are defined by other equations. See below.. y is the dependent variable and T is the independent variable. J, a, g are fitting parameters. I tried to use the function form as origin C but it did not compile (I am not sure how to define the intermediate variables N1, N2 etc.). If I used the function form as Equations then it seemed to work...it could calculate the value of y for a sample value of T. But in this case, I can not simulate the curve (that option seems grayed out). Kindly let me know how to build the fitting function so that I can simulate the curve for various choice of parameters.