Wrapper to WFDB GQRS:
Creates a SQRS annotation file at the current MATLAB directory.
The detector algorithm is new and as yet unpublished.
The annotation file will have the same name as the recorName file,
but followed with the *.qrs suffix. Use RDANN to read the annoations
into MATLAB's workspace in order to read the sample QRS locations.
If recordName is the path to a record at PhysioNet's database, than
the annation files will be stored in a subdirectory with the same relative
path as recordName and under the current directory.
NOTE: In order to read the generated annotation file using RDANN, it is
necessary to have the WFDB record (*.hea and *.dat) files in the same
directory as the annotation file.
String specifying the name of the record in the WFDB path or
in the current directory.
Optional Parameters are:
A 1x1 integer specifying the sample number at which to stop reading the
record file (default read all = N).
A 1x1 integer specifying the sample number at which to start reading the
annotion file (default 1 = begining of the record).
A 1x1 integer. Specify the singal to obtain the annotation (default
= 1, first signal).
A 1x1 double. Specify the detection threshold (default = 1.00).
If too many beats are missed, decrease threshold,
if there are too many extra detections, increase threshold.
String. Save the ouput annotation file extension as *.outputName (default =
Boolean. If false (0), does not read multifrequency signals in high
Source code by George B. Moody
MATLAB wrapper written by Ikaro Silva, 2013
Last Modified: December 10, 2013
See also SQRS, RDANN, WQRS, BXB
plot(tm,sig(:,1));hold on;grid on