12-01-2013 11:26 AM
Under the help option in the statistica express VI this is given to explain the time between samples (dt)
Time between samples (dt)
Signals
Solved! Go to Solution.
12-01-2013 11:45 AM
This one should have values plugged in for you
12-01-2013 11:57 AM
dt is the time spacing between sampled points. In your case, dt=0.001.
If you convert to plain 1D arrays, the sampling information is lost, meaning the cross correlation in in units of the array indices. Given dt, you can calculate the the spacing in seconds from the spacing in index units.
You can also set the dt of the x-axes of the graphs so the display is in seconds.
12-01-2013 12:46 PM
so its the time between each sample, so mines 10,000 samples at a rate of 1000 samples a secound i set in my daq assistant
so each sample the time for each one is 1 secound?
but when i cross correrlate the x-axis says 20,000 and i end up with a reading of 10,012, so i minus the 10,000 for the number of samples and end up with 12.
the time delay between the two signals is about 0.003 secounds in reality
so 12 samples * 1 secound = 12 secounds? i feel i have gone wrong since they dont match up ?
In short i wish to know how to change the gross correlation in units of the array indcies into secounds
12-01-2013 12:50 PM
The time for each sample is 1ms in your case. dt=0.001s
12-01-2013 12:54 PM
That makes alot more sense.
but still the reading from the cross correlation is 12 differentce between the 2, so 12ms .. which isant correct because the real delay is 3ms. I dont suppose you know why this is the case? if not no worries you've helped alot 🙂