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
 LabTalk Forum
 autocorrelation funtion on the fitting curve
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nicolas1988b

Argentina
3 Posts

Posted - 10/31/2017 :  3:06:11 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, i need to write an autocorrelation funtion to fit with my data.
the funtion is something like this
G(nu)={(1/(N-nu)*sum(F(i)*F(i+nu),i,i+un)/[((1/(N-nu))*sum(F(j),nu,N)]*[((1/(N-nu))*sum(F(j),j=1,n-nu)]}
where N and nu are positions in a row of random numbers and F(i) is the number in the position i
i can chose nu.



I already have a program that calculates de correlation, the graph is this one:



please help.

Edited by - nicolas1988b on 10/31/2017 3:14:02 PM

yuki_wu

896 Posts

Posted - 11/01/2017 :  01:29:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I suppose you wanna define a user-defined fitting function. You can refer to these pages, it may help:
http://www.originlab.com/doc/Tutorials/UserDef-FitFunc
http://www.originlab.com/doc/Quick-Help/Summation-DoubleIntegral-Func

Regards,
Yuki
OriginLab
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