Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

FUNDAMENTAL FREQUENCY – [SIFREQ]
Compute the exact fundamental frequency of a signal.
CATEGORY
SI5

DESCRIPTION
Compute the fundamental frequency of the input signal in Hertz [Hz] using an approximate fundamental frequency and using the Brent method
RESULT VARIABLES AND PARAMETERS

ResultFundamental frequency [Hz]. If the function returns zero as a result, this means that the fundamental frequency was not found, probably because the deviation from the approximate fundamental frequency provided is too large.
SignalInput signal to perform calculation
Freq_ApproxApproximate and initial fundamental frequency in Hz.
Begin_timeTime at which the analysis of a signal must start. This time is expressed in milliseconds [ms]. This value must be greater than 0 and lower than the size of the acquisition buffer. The default value is 0.
End_timeTime at which the analysis of a signal must end. This time is expressed in milliseconds [ms]. The value of this time must be larger than the specified begin_time and smaller than the duration of the test. Use the “HUGE” value to specify the end of the test. The default value is HUGE.
FactorMultiplying factor for the results generated by the function. The default value of the multiplying factor is 1.0 and has no effect on the results.


SYNTAX

res = sifreq(input, 60, 0, HUGE, 1)
CHARACTERISTICS
Data type support
Double Floating point
EXAMPLE

  • No labels