PAYNTER returns the filter coefficients for a Paynter Filter Usually, the filter is applied to the rectified electromyogram (EMG). Then, the output is amplitude-demodulated EMG The amplitude demodulated EMG can be obtained through y = filter(B,A,abs(x)); with [B,A]=paynter(tau,fs) [B,A]=paynter(tau,fs,'modified') [B,A]=paynter(tau,fs,'bessel-modified') tau time constant (in [s]) fs sampling rate (in [Hz]) REFERENCE(S): [1] Platt, Ronald S., Eric A. Hajduk, Manuel Hulliger, and Paul A. Easton. A modified Bessel filter for amplitude demodulation of respiratory electromyograms. J. Appl. Physiol. 84(1): 378-388, 1998. available online: http://jap.physiology.org/cgi/content/full/84/1/378 [2] Gottlieb, G.L. and Agarwal. Filtering of Electromyographic Signals. Am.J.Physical Medicine 49(3):142-146, 1970. [3] Hopp, F.A., J.L. Seagard, and J.P. Kampine. Comparison of four methods of averaging nerve activity. Am. J. Physiology 251:R700-R711, 1986. [4] Bruce, E. N., M. D. Goldman, and J. Mead. A digital computer technique for analyzing respiratory muscle EMGs. J. Appl. Physiol. 43: 551-556, 1977 available online: http://jap.physiology.org/cgi/content/abstract/43/3/551