You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function takes as input the raw EMG data of a single muscle contraction. Output is a 1x2 array, the first number is the EMG onset, the second number is the EMG "offset" index.
There needs to be enough data before the "on" burst to establish an average resting EMG level.
The resting levels (before and after burst) are defined by the user with MATLAB's ginput function.
One option is available by editing the .m file at line 65. By setting "xi" to x(2), the search for onset begins with the end of the ginput-defined resting EMG zone, and thus ignores any muscle bursts within the user-defined resting zone.
Algorythm for EMG onset & offset taken from Hodges, P.W. and B.H. Bui, _A comparison of computer-based methods for the determination of onset of muscle contraction using electromyography._ Electroencephalography & Clinical Neurophysiology, 1996. 101(6): p. 511-9
Created by: Kieran A. Coghlan, BSME, MSES
SUNY at Buffalo, New York
Last modified: 1 May, 2006
Cite As
Kieran Coghlan (2026). EMGONOFF (https://www.mathworks.com/matlabcentral/fileexchange/11049-emgonoff), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.7 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
