physiozoo / mhrv

Matlab toolbox for calculating Heart-Rate Variability metrics on ECG signals
GNU General Public License v3.0
77 stars 19 forks source link

about rectify code and data #15

Open glowboy0 opened 6 months ago

glowboy0 commented 6 months ago

Hello, thank you for taking the time to respond. Wishing you smooth work and everlasting happiness in your family! My ECG data file is in txt format, approximately like this: Each data point is spaced 1ms apart 0 0 0 0 0 270 455 952 1 0 0 0 0 270 454 952 2 0 0 0 0 270 454 952 3 0 0 0 0 270 457 952 4 0 0 0 0 270 462 952 5 0 0 0 0 270 469 952 6 0 0 0 0 270 478 952 7 0 0 0 0 270 489 952 8 0 0 0 0 270 501 952 9 0 0 0 0 270 515 952 10 0 0 0 0 270 529 952 11 0 0 0 0 270 545 952 12 0 0 0 0 270 562 952 13 0 0 0 0 270 580 952 14 0 0 0 0 270 598 952 15 0 0 0 0 270 616 952 0 0 0 0 0 270 632 952 1 0 0 0 0 270 646 952 2 0 0 0 0 270 658 952 3 0 0 0 0 270 668 952 I'm having trouble reading my data with MATLAB because your sample data is in "dat" format. How should I modify my data?