class="resources"
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. beta is the index of the maximum frequency and can be a noninteger.
The actual frequency is given by the following equation. beta * df = beta * fs/number of samples |
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
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
0
f0
f1
f2
f3< 0.5fs
by

Here Fb 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 |Fb(X)|.
The formula for
is exact for pure sine waves and a good estimation in all other cases.