Can not decode GMSK signal after Timing Synchronizer...
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su PHY Components in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!