您好,我在我的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 = s
喜为OQPSK的仿真我写了下面 values = [0;1;0;0;1;0;1;0];
h = modem.oqpskmod;
y = modulate(h, values);
g = modem.oqpskdemod(h);
z = logical(demodulate(g,y));
BER = sum(values(:)-z(:))/numel
嗯,至少对我来说是个谜。考虑以下内容: import time
import signal
def catcher(signum, _):
print "beat!"
signal.signal(signal.SIGALRM, catcher)
signal.setitimer(signal.ITIMER_REAL, 2, 2)
while True:
time