System identification using wavelet analysis