필터 지우기
필터 지우기

Where to find the file generated by ann2rr() ?

조회 수: 4 (최근 30일)
Massilon Toniolo da Silva
Massilon Toniolo da Silva 2017년 5월 31일
답변: dpb 2017년 5월 31일
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
Adam
Adam 2017년 5월 31일
standard output is just the command line. Your result should be in the rr variable.

댓글을 달려면 로그인하십시오.

채택된 답변

dpb
dpb 2017년 5월 31일
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개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by