bpsk
4 ビュー (過去 30 日間)
古いコメントを表示
sir how to convert 0 to -1 and 1 to +1
採用された回答
Oleg Komarov
2011 年 4 月 24 日
% 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 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で BPSK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!