Main Content

info

Provide dimensioning information for OFDM demodulator

Description

S = info(obj) returns a structure with fields that identify the input and output signal dimensions for the comm.OFDMDemodulator System object™, obj.

example

Examples

collapse all

Create an OFDM demodulator System object™ with default properties. Modify some of the properties. Inspect the object configuration by using the info object function.

ofdmDemod = comm.OFDMDemodulator
ofdmDemod = 
  comm.OFDMDemodulator with properties:

               FFTLength: 64
    NumGuardBandCarriers: [2×1 double]
         RemoveDCCarrier: false
         PilotOutputPort: false
      CyclicPrefixLength: 16
      OversamplingFactor: 1
              NumSymbols: 1
      NumReceiveAntennas: 1

info(ofdmDemod)
ans = struct with fields:
         InputSize: [80 1]
    DataOutputSize: [53 1]

Modify the number of subcarriers, symbols, and receive streams. Also enable the pilot output.

ofdmDemod.FFTLength = 128;
ofdmDemod.PilotOutputPort = 1;
ofdmDemod.NumSymbols = 2;
ofdmDemod.NumReceiveAntennas = 2;

Verify that the number of subcarriers and the number of symbols changed. Reinspect the input and output signal dimensions by using the info object function. Notice the addition of the pilot output dimensions to the information structure. Because the number of receive streams is greater than 1, the data and pilot output dimensions are 3D arrays rather than matrices.

ofdmDemod
ofdmDemod = 
  comm.OFDMDemodulator with properties:

               FFTLength: 128
    NumGuardBandCarriers: [2×1 double]
         RemoveDCCarrier: false
         PilotOutputPort: true
     PilotCarrierIndices: [4×1 double]
      CyclicPrefixLength: 16
      OversamplingFactor: 1
              NumSymbols: 2
      NumReceiveAntennas: 2

info(ofdmDemod)
ans = struct with fields:
          InputSize: [288 2]
     DataOutputSize: [113 2 2]
    PilotOutputSize: [4 2 2]

Input Arguments

collapse all

System object to return dimensional information for, specified as a comm.OFDMDemodulator System object.

Data Types: object

Output Arguments

collapse all

Dimensions for OFDM demodulator signals, returned as a structure with fields that identify the dimensions of the input and output signals for the OFDM demodulator object, obj.

Demodulator input signal dimensions, specified as a column vector. The element values are computed as [NIn,NStreams], based on the configuration of the input obj.

For variable definitions, see List of Variables.

Data Types: double

Dimensions of output data signal, specified as a column vector. The element values are computed as [NDataSC,NSym,NStreams], based on the configuration of the input obj.

For variable definitions, see List of Variables.

Data Types: double

Dimensions of the pilot output signal, specified as a column vector. The element values are computed as [NPilot,NSym,NStreams], based on the configuration of the input obj.

For variable definitions, see List of Variables.

Data Types: double

More About

collapse all

Version History

Introduced in R2014a

See Also

Objects

Functions