Description: [s, ipeaks] = ecgsyn(sfecg,N,Anoise,hrmean,hrstd,lfhfratio,sfint,ti,ai,bi)
Produces synthetic ECG with the following outputs:
s: ECG (mV)
ipeaks: labels for PQRST peaks: P(1), Q(2), R(3), S(4), T(5)
A zero lablel is output otherwise ... use R=find(ipeaks==3)
to find the R peaks s(R), etc.
To Search:
File list (Check if you may need any files):
ecgsyn.m