You can find the peak-to-peak amplitude of an EMG signal using the peak2peak
function in MATLAB. Here's some example code assuming your EMG signal is stored in a variable called emg_signal
:
main.m450 chars16 lines
In this code, the peak2peak
function computes the peak-to-peak amplitude of the EMG signal. We then plot the EMG signal and mark the positive and negative peaks using the findpeaks
function.
gistlibby LogSnag