Estimates the frequency of a given sine wave with unknown wavelength. Details
![]() |
X is the sampled signal at consecutive times. |
![]() |
beta is the estimation of the frequency of the sine wave represented by X. It is the index (could be noninteger) of the maximum frequency. Thus the actual frequency is
beta * df = beta * fs/number of samples. |
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. |
Sometimes, an underlying time signal is not exactly periodic with period n, where n denotes the size of the data array. How, then, do you determine the unknown period? The Buneman algorithm calculates the unknown frequency
by
Here denotes the value of the Fourier transform of the signal X at the frequency b. The value of b can be determined by the greatest value of
The formula for is exact for pure sine waves and a good estimation in all other cases.