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
 Correlate 2 signal /w different timestamp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Fabrice Malacrida

Switzerland
2 Posts

Posted - 06/06/2011 :  12:59:58 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,

I am trying to correlate two signals i recorded (Signal 1 = f(Signal 2)). Problem is, the two signals are not recorded at the same interval and both frequencies vary. I.e. Signal 1 is recorded every 15+-0.1 s and Signal 2 is recorded every 3+-0.05 s. Is there a (relatively simple) way to correlate both signals using a graph or an analyse algorithm?

The timestamps are expressed in dd/mm/yyyy hh:mm:ss.ss

Tx in advance for your replies or a link to a similar topic

Fabrice

greg

USA
1378 Posts

Posted - 06/07/2011 :  4:45:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use Analysis : Mathematics : Interpolate/Extrapolate Y from X to generate new Y values for your 'coarse' signal at the same X (date-time) values as your 'fine' signal. The new Ys can be generated using Linear, Cubic Spline or Cubic b-Spline. Then run correlation on the original 'fine' Y and the new 'fine' Y.
Go to Top of Page

Fabrice Malacrida

Switzerland
2 Posts

Posted - 06/08/2011 :  02:24:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you greg for the solution; it worked perfectly
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