Skip to main content

ser

Function ser 

Source
pub fn ser(kind: ConstellationKind, m: usize, ebn0_db: f64) -> Result<f64>
Expand description

Theoretical symbol error rate over AWGN as a function of E_b/N_0.

  • square QAM: exact, P_s = 1 - (1 - p)² with p = 2(1 - 1/L) Q(√(3 E_s/N_0/(M-1)));
  • PAM: exact, P_s = 2(M-1)/M · Q(√(6 E_s/N_0/(M²-1)));
  • PSK: the nearest-neighbour bound 2 Q(√(2 E_s/N_0) sin(π/M)) (exact for M = 2 when halved, tight for M ≥ 4).

§Errors

As ber.