I'm trying to measure BER of 4-QAM modulated signal after downsampling (without filtering). problem is im not sure what to measure after i downsample as the signal is much shorter and the original signal is the same. here's my code:
n=2;
sig = randi([0 1],1,10E4);
sig_d=downsample(sig,n);
sig_mod=qammod(sig_d,4);
y=awgn(sig_mod,5);
sig_demod=qamdemod(y,4);
z=sig_demod>0;
BER = biterr(sig,z)
i might be missing something basic here. the goal of this code is to reduce sampling frequency and measure the BER of the sampled signal.