Can not decode GMSK signal after Timing Synchronizer...
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur PHY Components dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!