Skip to main content

stdm_embed

Function stdm_embed 

Source
pub fn stdm_embed(coeffs: &mut [f64; 8], v: &[f64; 8], bit: u8, delta: f64)
Expand description

Embed a single bit into a group of coefficients using STDM.

  • coeffs: L coefficient values (will be modified in place)
  • v: unit-norm spreading vector of length L
  • bit: the message bit to embed (0 or 1)
  • delta: quantization step size