bpsk
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
sir how to convert 0 to -1 and 1 to +1
1 Kommentar
Akzeptierte Antwort
Oleg Komarov
am 24 Apr. 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 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu BPSK finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!