How do I time synch 2 sensors with different sample rates and start/stop times?
4 views (last 30 days)
Show older comments
I have 2 sensors, A and B.
Sensor A is operating at 5Hz. Sensor B is operating at 100Hz. However, they are both the same type of sensor, and I can see that they are recording essentially the exact same waveform at some point in their respective collections, but their collections start and stop at different times. So sensor A may see the start of an event after 10 seconds (50 of its samples) and sensor B may see the same event after 2 seconds (200 of its samples). Is there an easy way to line these up? That is, upsample sensor A so it also sees the event at it's 200th sample? I would like Sensor A to be upsampled to Sensor B's sampling rate, probably using interp1.
Only one of the sensors is GPS timestamped, otherwise this would be fairly easy.
Answers (0)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!