Algorithm 2: Measurement noise variance by wavelet transform. |
Input: : a numeric sequence of sensor data, (); f: the number of wavelet coefficients to be selected; Output: R: measurement noise variance of ; begin (1) WaveletTransform; (2) ConcatenateArray.zeros; // Take high energy coefficients. (3) InverseWaveletTransform; (4) CalculateVAR; // Calculate the variance between two sequences. (5) return R; end |