Main Content

pre6GLayerDemap

R2026b

Pre-6G layer demapping

Since R2026b

    Description

    Add-On Required: This feature requires the 6G Exploration Library for 5G Toolbox add-on.

    demapped = pre6GLayerDemap(sym) demaps layer-mapped symbols back to a single stream for 6G research and prototyping. The function reverses the layer mapping performed by pre6GLayerMap.

    example

    Examples

    collapse all

    Create a physical channel configuration object with four layers and map symbols to layers. Use a batch size of three.

    ch = pre6GPhysicalChannelConfig(Modulation="QPSK",NumLayers=4);
    txsym = complex(randn(240,3),randn(240,3));
    sym = pre6GLayerMap(ch,txsym);

    Demap the layer-mapped symbols back to a single stream. Verify that demapping recovers the original stream.

    demapped = pre6GLayerDemap(sym);
    isequal(demapped,txsym)
    ans = logical
       1
    
    

    Input Arguments

    collapse all

    Layer-mapped symbols, specified as a complex 3-D array of size M-by-ν-by-B or a dlarray object. M is the number of symbols per layer, ν is the number of layers, and B is the batch size.

    Data Types: single | double
    Complex Number Support: Yes

    Output Arguments

    collapse all

    Demapped symbols, returned as a numeric matrix of size (M × ν)-by-B, or, if sym is a dlarray, as a dlarray object. M is the number of symbols per layer, ν is the number of layers, and B is the batch size. The output inherits the data type from the input sym.

    Data Types: single | double
    Complex Number Support: Yes

    More About

    collapse all

    Extended Capabilities

    expand all

    Version History

    Introduced in R2026b