Hi,
I am trying to rig up a makeshift EMG in my research group using LabVIEW 8.0 and a DAQ card, and I was wondering if there was a function, or a set of functions that I could use to determine the median frequency of the EMG. Looking at signals theory, the median frequency is defined as the frequency at which the integral of the power spectrum is equal to half of its maximum value. Right now, the way I'm trying to program that in LabVIEW is by using the Power Spectrum Express VI wired to the Integration express VI. From there, I convert the integral to a floating point value and divide it by two. What I don't know is how to back-correlate the integral value to a specified frequency. If someone could clue me in on how to do this, or suggest another approach for finding the median frequency, it would be much appreciated.
Thanks,
Timmy