[Index for beat]
[Return to Master Index]
# medfreq

## (beat/medfreq.m)

### Function Synopsis

fm = medfreq (spectrum, freq)

### Help text

MEDFREQ Compute median frequency of a signal.
FM = MEDFREQ (SPECTRUM, FREQ) computes the median frequency
of a signal with spectrum given by SPECTRUM, computed at
the frequencies given by FREQ, returning the median
frequency in FM.
It uses the CUMSUM function to compute the area under
the spectrum curve.

Produced by mat2html on Wed Jun 20 12:12:51 2001

Cross-Directory links are: OFF