The filtering algorithm based on wavelet transform is an important method in signal processing field.For the additive white Gaussian noise,a novel method to determine the optimal decomposition level in wavelet transform based on Kolmogorov-Smirnov test is proposed considering the characteristic of contaminated signal′s wavelet transform.This method can improve the performance of the traditional method for the signal with different lengths and adaptively determine the optimal decomposition level....