Can not decode GMSK signal after Timing Synchronizer...

1 view (last 30 days)
Hi All! How can I decode GMSK signal after using comm.GMSKTimingSynchronizer? I try use this code (which similar one from the Matlab help for MSK signal):
if true
% code
hMod = comm.GMSKModulator('BitInput', true, 'SamplesPerSymbol',14);
txBits = randi([0 1], 100*10, 1); %Create data sequence
txSym = step(hMod, txBits);
hDemod = comm.GMSKDemodulator('BitOutput', true, 'SamplesPerSymbol', 14);
rxBits = step(hDemod, txSym);
hError = comm.ErrorRate('ReceiveDelay', 16);
errorStats = step(hError, txBits, rxBits)
%Demodulaition is OK
%Now try recover signal
hTimeSync = comm.GMSKTimingSynchronizer('SamplesPerSymbol',14, 'ErrorUpdateGain',0.01);
[rxSym timEst] = step(hTimeSync, txSym);
hDemod = comm.GMSKDemodulator('BitOutput', true, 'SamplesPerSymbol', 1);
rxBits = step(hDemod, rxSym);
hError = comm.ErrorRate('ReceiveDelay', 16);
errorStats = step(hError, txBits, rxBits)
end
Jury

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!