Borrar filtros
Borrar filtros

Where to find the file generated by ann2rr() ?

4 visualizaciones (últimos 30 días)
Massilon Toniolo da Silva
Massilon Toniolo da Silva el 31 de Mayo de 2017
Respondida: dpb el 31 de Mayo de 2017
Hi everyone, After using:
>> [rr,tm] = ann2rr('my_data', 'qrs'); The Workspace showed a variable rr with value Nx1 double. I guess a RR time series has been created. The command , as far as I understand it, writes the RR Intervals to the standard output in text format. Something like, for example, ecg01.rr1.txt.
Question: Where can I find this file containing the RR intervals? Many thanks for any help! Kind regards, Massilon
  1 comentario
Adam
Adam el 31 de Mayo de 2017
standard output is just the command line. Your result should be in the rr variable.

Iniciar sesión para comentar.

Respuesta aceptada

dpb
dpb el 31 de Mayo de 2017
function varargout=ann2rr(varargin)
[RR,tms]=ann2rr(recordName,annotator,N,N0,consecutiveOnly)
Wrapper to WFDB ANN2RR:
http://www.physionet.org/physiotools/wag/ann2rr-1.htm
Reads a WFDB record and Annotation file to return:
RR
Nx1 vector of integers representing the duration of the RR
interval in samples.
tms
Nx1 vector of integers representing the begining of the RR
interval in samples.
The Matlab function of the same name simply returns the output to the variables; doesn't look like it creates any files; that appears to be "exercise for the student".

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by