pub fn cross_correlation(sf: u32, l: usize, m_sym: usize) -> Result<C64>Expand description
The cross-correlation $C_{\ell, m} = \frac{1}{T_{s}}\int_{0}^{T_{s}} x(t; \ell)\, x^{*}(t; m)\, dt$ of two continuous-time LoRa waveforms (Chiani and Elzanaty 2019, eq. (7)): $1$ for $\ell = m$, else $M \frac{e^{j2\pi\ell(m - \ell)/M} - e^{j2\pi m(m - \ell)/M}}{j2\pi(M - |m - \ell|)\,|m - \ell|}$.
ยงErrors
As ser, and comnum_core::Error::Config unless both symbols lie below $M$.