You can use the following script to extract the peak to peak amplitude of the m-wave and h-reflex from a single waveform in Matlab:
main.m595 chars19 lines
This script assumes that the waveform data is saved as a two column matrix in a file named waveform.mat
, with the first column being the time values and the second column being the amplitude values. The script plots the waveform, extracts the m-wave and h-reflex peak-to-peak values using the peak2peak
function, and then displays the results.
gistlibby LogSnag