The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 HLN fitting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cchun1999

Taiwan
5 Posts

Posted - 07/06/2023 :  05:19:04 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello, I have some problems with HLN fitting.
My formula as shown below (Labtalk script):

psi_deriv=real_polygamma(x,k)
k=1
y=(A*1.23314709*10^-5)*(real_polygamma(0.5+1.64557041*10^(-16)/(x*L^2),1)-ln(1.64557041*10^(-16)/(x*L^2)))

However, when I try to evaluate, the caption says "x, y, A, L not used."
And when I insist to keep fitting, the caption says "Fit did not converge, and reason unknown"

So, I want to know how to deal with this problem, thank you!

Edited by - cchun1999 on 07/06/2023 05:47:56 AM

YimingChen

1593 Posts

Posted - 07/06/2023 :  10:12:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You only need the third line of LabTalk script as the equation, right?

James
Go to Top of Page

cchun1999

Taiwan
5 Posts

Posted - 07/06/2023 :  10:18:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes!

My equation:

y=(A*1.23314709*10^-5)*(real_polygamma(0.5+1.64557041*10^(-16)/(x*L^2),1)-ln(1.64557041*10^(-16)/(x*L^2)))
Go to Top of Page

YimingChen

1593 Posts

Posted - 07/06/2023 :  10:23:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Then the equation should evaluate properly. Did you specify the independent vars, dependent vars, and parameters on the previous page?

Edited by - YimingChen on 07/06/2023 10:25:34 AM
Go to Top of Page

cchun1999

Taiwan
5 Posts

Posted - 07/06/2023 :  12:01:10 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes, I set independent variables=x, dependent variables=y, and parameters=A, L on the previous page.

My Origin version is 9


Edited by - cchun1999 on 07/06/2023 12:06:29 PM
Go to Top of Page

cchun1999

Taiwan
5 Posts

Posted - 07/06/2023 :  12:31:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, James

Thank you very much for your help.
I found that the issue was with the version.
When I used Origin 2019, this equation was executable.

Chun

Edited by - cchun1999 on 07/06/2023 12:32:12 PM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000