signal processing (segmentation in time domain)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
eman mohammad
am 22 Okt. 2019
Beantwortet: Adam
am 22 Okt. 2019
how i can segment ECG signal in real time domain (not numbers of samples) , like this :
sig=ecgsignal;
t=timevalues;
x=[t,sig];
sig1=x(.34:4);% from .34 second to second 4 .
sig2=x(6:8.5);
0 Kommentare
Akzeptierte Antwort
Adam
am 22 Okt. 2019
sig1 = sig( t >= 0.34 && t <= 4 );
sig2 = sig( t >= 6 && t <= 8.5 );
If you also need the t vector then apply it similarly. Just pull out the logic from there into two variables and apply them to both sig and t.
Or, index into x in the same way to get both times and signal values.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu DTMF finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!