comnum.mimo_channels#
- comnum.mimo_channels(n, n_rx, n_tx, rng, *, k_factor=0.0, rx_correlation=Ellipsis, tx_correlation=Ellipsis)#
Independent flat MIMO channel matrices, one per channel use, as
mimo_channel().- Parameters:
n (int) – number of matrices.
n_rx (int) – receive antennas.
n_tx (int) – transmit antennas.
rng (Rng) – the generator.
k_factor (float) – Rician factor
K(linear, 0 for Rayleigh).rx_correlation (complex) – correlation
ρof adjacent receive antennas.tx_correlation (complex) – correlation
ρof adjacent transmit antennas.
- Returns:
(n, n_rx, n_tx)(complex128).- Return type:
- Raises:
ValueError – for an invalid parameter or input (the message names it).
Examples
>>> import comnum >>> comnum.mimo_channels(10, 4, 2, comnum.Rng(1)).shape (10, 4, 2)