bpsk
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sir how to convert 0 to -1 and 1 to +1
1 commentaire
Réponse acceptée
Oleg Komarov
le 24 Avr 2011
% Example input
A = randi([0 1],10,1);
Cellarray lookup table:
B = {'-1', '+1'};
C = B(A+1).';
Or char array table:
B = ['-1'; '+1'];
C = B(A+1,:)
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur BPSK dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!