Azzera filtri
Azzera filtri

Where to find the file generated by ann2rr() ?

4 visualizzazioni (ultimi 30 giorni)
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 Commento
Adam
Adam il 31 Mag 2017
standard output is just the command line. Your result should be in the rr variable.

Accedi per commentare.

Risposta accettata

dpb
dpb il 31 Mag 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".

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by