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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Calculate factorial n in Loop function

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Sara_75 Posted - 08/05/2015 : 01:45:54 AM
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
9   L A T E S T    R E P L I E S    (Newest First)
Sara_75 Posted - 08/06/2015 : 1:12:26 PM
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

jasonzhao Posted - 08/06/2015 : 02:24:42 AM
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
Sara_75 Posted - 08/05/2015 : 11:31:36 PM

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


jasonzhao Posted - 08/05/2015 : 10:54:14 PM
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
Sara_75 Posted - 08/05/2015 : 6:09:01 PM
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
   ��             ��          ����  �` ��   ��
                              ��




Sara_75 Posted - 08/05/2015 : 3:57:15 PM
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
   ��             ��          ����  �` ��   ��
                              ��


Castiel Posted - 08/05/2015 : 11:46:47 AM
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
   ¨Ö             ¦á          ©¦£þ  ©` ¥Õ   ©¦
                              ©¦
Sara_75 Posted - 08/05/2015 : 10:43:30 AM
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



jasonzhao Posted - 08/05/2015 : 02:36:35 AM
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


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000