hi currently i have the following code in my matlab
values = [0;1;0;0;1;0;1;0]; % can contain only 0s and 1s
h = modem.oqpskmod;
y = modulate(h, values);
g = modem.oqpskdemod(h);
z = demodulate(g,y);
BER = sum(logical(values(:)-z(:)))/numel(values);% thanks to gnovice!
now my question is how can i compare this BER to the Probability Error of the OQPSK?