主要内容

pilotSignal

Returns pilot symbols and linear indices of pilot locations

Since R2026a

Description

[sym,ind] = pilotSignal(pilotcfg) returns pilot symbols and linear indices of all pilot locations in the ofdmPilotConfig object.

example

Examples

collapse all

Create a default ofdmPilotConfig object and validate it.

pilotcfg = ofdmPilotConfig;
validate(pilotcfg);

Use pilotSignal to get all pilot symbols and their corresponding linear indices.

[sym,ind] = pilotSignal(pilotcfg);

The pilot symbols are complex-valued elements in a column vector of dimensions 28-by-1. The corresponding indices, indicating the locations of these pilot symbols within the transmission grid, are integer values in a column vector of size 28-by-1.

Consider a transmit grid for OFDM modulation.

txGrid = zeros(pilotcfg.FFTLength - sum(pilotcfg.NumGuardBandCarriers), ...
    pilotcfg.NumSymbols, pilotcfg.NumTransmitStreams);

Insert pilot symbols into the transmit grid at the specified locations.

txGrid(ind) = sym;

Input Arguments

collapse all

Pilot configuration object, specified as an ofdmPilotConfig object.

Output Arguments

collapse all

Complex-valued PilotSymbols in the ofdmPilotConfig object, returned as a column vector. sym and ind are column vectors of the same length.

Data Types: double | single

Linear indices of all PilotLocations in the ofdmPilotConfig object., returned as a column vector. sym and ind are column vectors of the same length.

Data Types: double | single

Version History

Introduced in R2026a

See Also

Functions