info
Provide dimensioning information for OFDM modulator
Syntax
Description
returns the input, pilot, and output data dimensions for the specified OFDM modulator
System object™.infostruct
= info(hMod
)
Examples
Determine OFDM Modulator Data Dimensions
Get the OFDM modulator data dimensions by using the info
object function.
Construct an OFDM modulator System object™ with user-specified pilot indices, an inserted DC null, and specify two transmit antennas.
hMod = 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(hMod)
ans = struct with fields:
DataInputSize: [48 1 2]
PilotInputSize: [4 1 2]
OutputSize: [80 2]
Input Arguments
hMod
— OFDM modulator
System object
OFDM modulator, specified as a comm.OFDMModulator
System
object.
Output Arguments
infostruct
— Dimensions of structure for OFDM modulator
struct
Dimensions of structure for OFDM modulator, returned as a structure containing these fields.
DataInputSize
— Dimensions of input data
3-D array
Dimensions of input data, returned as a 3-D array of numeric values. The dimensions of this field are Ndata-by-Nsym-by-Nt, where Ndata is the number of data subcarriers such that Ndata = NFFT − NleftG − NrightG − NDCNull − Npilot − NcustNull.
For variable definitions, see Variable Definitions.
PilotInputSize
— Dimensions of the pilot input data
3-D array
Dimensions of the pilot input array, returned as a 3-D array of numeric values. The output dimensions of this field are Npilot-by-Nsym-by-Nt.
OutputSize
— Dimensions of modulator output data
3-D array
Dimensions of the modulator output data, returned as a 3-D array of numeric values. The dimensions of this field are ((NFFT + NCP)×Nsym)-by-Nt.
For variable definitions, see Variable Definitions.
Data Types: struct
More About
List of Variables
The variables mentioned in this table are defined in this table:
Variable Definitions
Variable | Description |
---|---|
NFFT | Number of subcarriers |
NleftG | Number of subcarriers in the left guard band |
NrightG | Number of subcarriers in the right guard band |
NDCNull | Number of subcarriers in the DC null (either 0 or
1 ) |
Npilot | Number of pilot subcarriers |
NcustNull | Number of subcarriers used for custom nulls (applies only when the
PilotCarrierIndices property of input
hMod is a 3-D array) |
Nt | Number of transmit antennas |
NCP | Length of cyclic prefix. |
Version History
Introduced in R2014a
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
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)