Borrar filtros
Borrar filtros

bit eror rate

1 visualización (últimos 30 días)
itsik
itsik el 10 de Jun. de 2011
Comentada: Walter Roberson el 25 de Nov. de 2017
hello lets say i have this random bits bits= randint(1,1000)
and after few math functions i get x=(1,1000) how do i calculate and make a plot of the ber when i make this math function 10 times for 10 diffrents snr? thanks!
  2 comentarios
Abdelwahab Fawzy
Abdelwahab Fawzy el 25 de Nov. de 2017
please, can I get the ApplySNR function?
Walter Roberson
Walter Roberson el 25 de Nov. de 2017
ApplySNR is your own function for transforming the bits according to the given SNR. For example you might use awgn() and then make a decision about the result.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Jun. de 2011
SNR = [1, 2, 5, ... whatever]
N = length(SNR);
ber = zeros(N,1);
for K = 1:N
x = ApplySNR(bits, SNR(K));
ber(K) = mean(x ~= bits);
end
plot(SNR, ber);
Where ApplySNR is your function for transforming the bits according to the given SNR.

Más respuestas (0)

Categorías

Más información sobre Test and Measurement en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by