function x = decodeNoisyBPSK(noisyData) x = (noisyData > 0) - (noisyData <= 0); end