Automatic modulation recognition using the discrete wavelet transform