Can not decode GMSK signal after Timing Synchronizer...
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PHY Components 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!