Effacer les filtres
Effacer les filtres

Where to find the file generated by ann2rr() ?

4 vues (au cours des 30 derniers jours)
Massilon Toniolo da Silva
Massilon Toniolo da Silva le 31 Mai 2017
Réponse apportée : dpb le 31 Mai 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 commentaire
Adam
Adam le 31 Mai 2017
standard output is just the command line. Your result should be in the rr variable.

Connectez-vous pour commenter.

Réponse acceptée

dpb
dpb le 31 Mai 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".

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by