# meanfreq

Mean frequency

## Syntax

## Description

specifies the frequency interval over which to compute the mean frequency. This
syntax can include any combination of input arguments from previous syntaxes, as
long as the second input argument is either `freq`

= meanfreq(___,`freqrange`

)`fs`

or
`f`

. If the second input is passed as empty, normalized
frequency will be assumed. The default value for `freqrange`

is the entire bandwidth of the input signal.

`meanfreq(___)`

with no output
arguments plots the PSD or power spectrum and annotates the mean frequency.

## Examples

## Input Arguments

## Output Arguments

## References

[1] Phinyomark, Angkoon, Sirinee
Thongpanja, Huosheng Hu, Pornchai Phukpattaranont, and Chusak Limsakul. "The Usefulness
of Mean and Median Frequencies in Electromyography Analysis." In
*Computational Intelligence in Electromyography Analysis – A Perspective
on Current Applications and Future Challenges*, edited by Ganesh R. Naik.
InTech, 2012. https://doi.org/10.5772/50639.

## Extended Capabilities

## See Also

`findpeaks`

| `medfreq`

| `periodogram`

| `plomb`

| `pwelch`

**Introduced in R2015a**