bpsk
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sir how to convert 0 to -1 and 1 to +1
1 comentario
Respuesta aceptada
Oleg Komarov
el 24 de Abr. de 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 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre BPSK en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!