Where to find the file generated by ann2rr() ?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
le 31 Mai 2017
standard output is just the command line. Your result should be in the rr variable.
Réponse acceptée
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".
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Whos dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!