Can not decode GMSK signal after Timing Synchronizer...
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Categories
Find more on PHY Components in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!