| measureFCF | R Documentation |
Computes the fault correlation factor between a signal and each of its modes, a normalized inner product without removal of means.
measureFCF(signal, modes)
signal |
Finite numeric vector without |
modes |
Finite numeric matrix with one row per sample of
|
\mathrm{FCF}(x, c) = \frac{\sum_n x[n] c[n]}{\sqrt{\sum_n x[n]^2 \sum_n c[n]^2}}.
The means are not removed, so the factor differs from a correlation of centered vectors when the inputs have a nonzero mean.
Numeric vector with one factor per mode.
A signal or a mode of zero norm stops the function with an error of class
xemdZeroEnergy.
measureDTW, selectModesEnergy
Time <- seq_len(1000) / 1000
Tones <- cbind(cos(2 * pi * 2 * Time), 0.25 * cos(2 * pi * 24 * Time),
0.0625 * cos(2 * pi * 288 * Time))
measureFCF(signal = rowSums(Tones), modes = Tones)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.