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 for Programming
 Forum for Origin C
 Calculate factorial n in Loop function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Sara_75

USA
6 Posts

Posted - 08/05/2015 :  01:45:54 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hi Everyone,

Please help me with the following equation (Image attached):




I have experimental data y = f(x) and I need to do fitting of the data in order to determine the value of N.

Please help!

Thank you

Sara

jasonzhao

China
262 Posts

Posted - 08/05/2015 :  02:36:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

You mean the number N for exponent item is not a constant, so the fitting function is not fixed;
You first step is find a fixed fitting function,but not a fitting results, right?
How about E_k and A_k, do they have a constant value?


Best regards!
Jason
OriginLab Technical Service

Go to Top of Page

Sara_75

USA
6 Posts

Posted - 08/05/2015 :  10:43:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Jason,

E_k and A_k are not constants, and the equation it is series of E_k, A_k. What I mean by my post is that I am trying to fit my experimental data with the equation attached in a way to determine the value of N required to get the best fit of my experimental data. I have tried N=3 (which means : y = y0+(E1*exp(-x/A1))+(E2*exp(-x/A2))+(E3*exp(-x/A3)) but didn't get good fit.
I am wondering if there is a way with OriginLab to find the value of N that will give best fit instead of trying each N value (N=4, N=5, N=6.....)

Thanks a lot!

Sara

quote:
Originally posted by jasonzhao

Hello,

You mean the number N for exponent item is not a constant, so the fitting function is not fixed;
You first step is find a fixed fitting function,but not a fitting results, right?
How about E_k and A_k, do they have a constant value?


Best regards!
Jason
OriginLab Technical Service



Go to Top of Page

Castiel

343 Posts

Posted - 08/05/2015 :  11:46:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Sara_75

Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hi Everyone,

Please help me with the following equation (Image attached):




I have experimental data y = f(x) and I need to do fitting of the data in order to determine the value of N.

Please help!

Thank you

Sara



It's more like FFT than curve fitting. Yet I'm afraid then it's NOT the N to determine.

c   ȥ  fuc  c    Τ  c/     
 cʥ       ' ̩   /  թf
                            `    
                              
Go to Top of Page

Sara_75

USA
6 Posts

Posted - 08/05/2015 :  3:57:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Can you please explain more.Have tried to put an equation? I got this instead ????????
Thank you


quote:
Originally posted by Castiel

quote:
Originally posted by Sara_75

Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hi Everyone,

Please help me with the following equation (Image attached):




I have experimental data y = f(x) and I need to do fitting of the data in order to determine the value of N.

Please help!

Thank you

Sara



It's more like FFT than curve fitting. Yet I'm afraid then it's NOT the N to determine.

�c��   �ȥ�  �f�u�c  �c��    �Τ�  �c/     ����
 �c�ʥ� ����  �� ��   ���' �̩���   /��  �թ��f
   ��             ��          ����  �` ��   ��
                              ��


Go to Top of Page

Sara_75

USA
6 Posts

Posted - 08/05/2015 :  6:09:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I forgot to mention that E_k and A_k are adjusting parameters to fit the experimental data. E_k and A_k I could define them for N=3. I am more interested in defining the value of N to get better fit.
Thank you

quote:
Originally posted by Sara_75

Can you please explain more.Have tried to put an equation? I got this instead ????????
Thank you


quote:
Originally posted by Castiel

quote:
Originally posted by Sara_75

Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hi Everyone,

Please help me with the following equation (Image attached):




I have experimental data y = f(x) and I need to do fitting of the data in order to determine the value of N.

Please help!

Thank you

Sara



It's more like FFT than curve fitting. Yet I'm afraid then it's NOT the N to determine.

�c��   �ȥ�  �f�u�c  �c��    �Τ�  �c/     ����
 �c�ʥ� ����  �� ��   ���' �̩���   /��  �թ��f
   ��             ��          ����  �` ��   ��
                              ��




Go to Top of Page

jasonzhao

China
262 Posts

Posted - 08/05/2015 :  10:54:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

Please refer to page below for rank fitting models:

http://www.originlab.com/doc/Quick-Help/Compare-Datasets-FittingModels
http://www.originlab.com/index.aspx?go=Products/Origin/91/FitRank

Best regards!
Jason
OriginLab Technical Service
Go to Top of Page

Sara_75

USA
6 Posts

Posted - 08/05/2015 :  11:31:36 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

Thank you Jason. I was not aware of this option. But I am still wondering how can I evaluate the factorial number N for better fit with the equation attached.

Thank you


quote:
Originally posted by jasonzhao

Hello,

Please refer to page below for rank fitting models:

http://www.originlab.com/doc/Quick-Help/Compare-Datasets-FittingModels
http://www.originlab.com/index.aspx?go=Products/Origin/91/FitRank

Best regards!
Jason
OriginLab Technical Service


Go to Top of Page

jasonzhao

China
262 Posts

Posted - 08/06/2015 :  02:24:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

You can send data to tech@originlab.com for us to make a further check.

please mention this forum post link in the email.


Best regards!
Jason
OriginLab Technical Service

Edited by - jasonzhao on 08/06/2015 02:25:56 AM
Go to Top of Page

Sara_75

USA
6 Posts

Posted - 08/06/2015 :  1:12:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I did. Thank you

Sara


quote:
Originally posted by jasonzhao

Hello,

You can send data to tech@originlab.com for us to make a further check.

please mention this forum post link in the email.


Best regards!
Jason
OriginLab Technical Service

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