This is a coherent demodulation of a BPSK signal. I'm using this link as a reference
The Blue ones are the demodulated data(Floor1) and the yellow ones are the transmitted data bits. Do you guys think it might be related to my low pass filter? or sampling rate? or something else?