Skip to main content

modulate

Function modulate 

Source
pub fn modulate(bits: &[u8], n_bits: usize, symbols: &mut [f32])
Expand description

Modulate packed bits to BPSK symbols (+1.0 / −1.0).

Reads n_bits from bits (MSB-first) and writes one f32 symbol per bit into symbols.