I want to create a variable that averages the data over one minute from a larger set of data
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have a large set of heart rate data collected over 11 hours. Data is collected every one second and I want to get the mean one minute heart rate data in a column vector. many thanks
0 comentarios
Respuestas (2)
Cris LaPierre
el 23 de Oct. de 2021
Not exactly sure what data looks like. I would use groupsummary with the groupbin set the 'minute' and the methods set to 'mean' to average the data into one-minute bins. This assumes the data contains the heart rate at that second, and not just an indication of if the heart beat.
0 comentarios
Jabeur Methnani
el 24 de Oct. de 2021
1 comentario
Cris LaPierre
el 24 de Oct. de 2021
Unfortuantely, that live script is not very helpful. Could you attach the raw data file?
Ver también
Categorías
Más información sobre ECG / EKG en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!