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)²withp = 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 forM = 2when halved, tight forM ≥ 4).
§Errors
As ber.