info
Provide dimensioning information for OFDM modulator
Syntax
Description
returns a
structure with fields that identify the input and output signal dimensions for the S
= info(obj
)comm.OFDMModulator
System object™, obj
.
Examples
Determine OFDM Modulator Data Dimensions
Get the OFDM modulator data dimensions by using the info
object function.
Create an OFDM modulator object with pilot indices, a DC null, and two transmit antennas.
ofdmMod = comm.OFDMModulator( ... NumGuardBandCarriers=[4; 3], ... PilotInputPort=true, ... PilotCarrierIndices=cat(3,[12; 26; 40; 54],[11; 25; 39; 53]), ... InsertDCNull=true, ... NumTransmitAntennas=2);
Use the info
object function to get the modulator input data, pilot input data, and output data sizes.
info(ofdmMod)
ans = struct with fields:
DataInputSize: [48 1 2]
PilotInputSize: [4 1 2]
OutputSize: [80 2]
Input Arguments
obj
— System object to return dimensional information for
comm.OFDMModulator
System object to return dimensional information for, specified as a comm.OFDMModulator
System object.
Output Arguments
S
— Dimensions for OFDM modulator signals
structure
Dimensions for OFDM modulator signals, returned as a structure with fields that
identify the input and output signal dimensions for the comm.OFDMModulator
System object,
obj
.
DataInputSize
— Dimensions of input data signal
column vector
Dimensions of input data signal, returned as a column vector. The element
values are computed as [NData,NSym,NT], based on the configuration of the input
obj
.
For variable definitions, see List of Variables.
Data Types: double
PilotInputSize
— Dimensions of pilot input signal
column vector
Dimensions of the pilot input signal, returned as a column vector. The element
values are computed as [NPilot,NSym,NT], based on the configuration of the input
obj
.
For variable definitions, see List of Variables.
Data Types: double
OutputSize
— Modulator output dimensions
column vector
Modulator output signal matrix dimensions, returned as a column vector. The
element values are computed as [(NCPTotal +
(NFFT×NSym)),NT], based on the configuration of the input
obj
.
For variable definitions, see List of Variables.
Data Types: double
Data Types: struct
More About
List of Variables
These variables describe the dimensions of the input and output
signals for the comm.OFDMModulator
System object.
Variable | Description |
---|---|
NData | Number of data subcarriers, such that NData = NFFT − NleftG − NrightG − NDCNull − NPilot − NCustNull. |
NFFT | Number of subcarriers, |
NleftG and NrightG | Left and right guard bands specified by
|
NDCNull | Number of DC null subcarriers specified as either |
NPilot | Number of pilot subcarriers.
. |
NCustNull | Number of subcarriers used for custom nulls. This variable applies only
when the |
NSym | Number of symbols, |
NT | Number of transmit antennas,
|
NCPTotal | Cyclic prefix length over all the symbols.
|
Version History
Introduced in R2014a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)