Synchronizing 4 signals with 4 different measurefre​quencies/t​imeinterva​ls

2 Ansichten (letzte 30 Tage)
Dear Matlabusers,
I have 5 medical devices that measures 5 different kinds of biosignals (NIRS, EMG, ECG, FORCE, ANGULAR DISPLACEMENT)
EMG has a samplerate of 1250 Hz
ANGULAR DISPLACEMENT measures per 2 degrees displacement and records that time in 1/100 second. so max 100 Hz. (Force same device)
NIRS 8 Hz per second
Well, let's take the EMG-device as time-standard.
Now I want to synchronise them with the time so I want a dataset something like
Time EMG Angular displacement Force
0 0.15312 0 0
0.0004 0.15214 0 0
0.0008 0.13459 0 0
...
0.0100 0.26843 2 15
0.0104 0.21684 2 15
0.0108 0.21665 2 15
0.0112 0.21846 2 15
...
0.0200 0.35331 4 22
0.0204 0.35135 4 22
0.0208 0.35351 4 22
etc.
So i want the data of for example force to stay the same in the interval period it didn't measure (so I already have the data, not realtime) Force for example is:
0.00 0
0.01 15
0.02 22
0.03 25
0.04 28
I hope you understand what I mean :)!
I already coded the whole program for inserting the data, filtering etc. The syncing part is my only problem to complete this pilotstudy-program
Greetings and thanks in advance,
Martijn van Hooff

Akzeptierte Antwort

Eric Keller
Eric Keller am 19 Dez. 2012
I would use 'resample'

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by