# frequency(a)

Determines the dominant frequency of an arbitrary signal.

### Syntax

o_frequency(a)
  a: waveform - signal to be analyzed
  return: scalar Real- frequency of the (presumed) periodic signal

### Usage

Think of this as a noise-resistant frequency counter. It examines the signal and returns a representative frequency for the signal.

### Location

menu: veeos ==> Signal Processing ==> frequency

library: sigLib

### Example

see examples in veeos menu

### Notes

One common parameter for periodic signals is frequency. This is generally the dominant frequency and can be determined by various methods. This function looks at the spectrum and determines the peak. As such it is very tolerant to noise. For amplitude modulated signals this will give a better frequency estimate than using 1/period since the latter may well see the modulation rather than the carrier.

### Reference

### Dependencies

### Supported On

VEE 7.0+, all platforms

### See Also

dutyCycle, fallTime, period, riseTime

© 2015-2021. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 09 August 2021 18:22.