comnum.mimo_channel#
- comnum.mimo_channel(n_rx, n_tx, rng, *, k_factor=0.0, rx_correlation=Ellipsis, tx_correlation=Ellipsis)#
Flat MIMO channel matrices: Rayleigh or Rician fading, with exponential antenna correlation (Kronecker model).
H = √(K/(K+1)) H_LOS + √(1/(K+1)) L_r G L_tᵀwithGof independentCN(0, 1)entries,L Lᴴthe exponential correlation[R]_ij = ρ^(j-i), andH_LOSall ones; every entry has unit mean power.- Parameters:
- Returns:
one matrix
(n_rx, n_tx)(complex128);mimo_channels()draws one per channel use.- Return type:
- Raises:
ValueError – for an invalid parameter or input (the message names it).
Examples
>>> import comnum >>> comnum.mimo_channel(4, 2, comnum.Rng(1)).shape (4, 2)