This example shows how to generate standard-compliant NR uplink and downlink carrier waveforms, NR test models (NR-TM), and NR uplink and downlink fixed reference channel (FRC) waveforms by using the 5G Waveform Generator app. The example also discusses waveform exporting and transferring options available in the app.
On the Apps tab of the MATLAB® toolstrip, under Signal Processing and Communications, click the 5G Waveform Generator app icon. This app opens the Wireless Waveform Generator app configured for 5G waveform generation.
In the Waveform Type section on the app toolstrip, click the waveform you want to generate. Select one of these waveforms.
5G Downlink FRC
5G Uplink FRC
5G Test Models (NR-TM)
Depending on the selected waveform, the app presents specific tabs where you can set the parameters of the selected waveform. On the app toolstrip, in the Generation section, you can add impairments and set visualization tools applicable for the selected waveform. To visualize the waveform on the selected visualization tools, click Generate.
For example, this figure shows the visualization results of a downlink FRC waveform using default parameters.
To export the generated waveform, on the app toolstrip, in the Export section, select Export to Workspace or Export to File. You can export the waveform as a structure to the MATLAB workspace or a MAT-file (
.mat). You can also export the waveform to a baseband file (
To export waveform configuration parameters, on the app toolstrip, in the Export section, select Export to MATLAB Script. With this option, you can export the waveform configuration parameters into a runnable MATLAB script that you can use to generate the waveform outside the app. This option is only available for NR uplink and downlink waveforms.
To transmit the generated waveform, on the app toolstrip, click on the Transmitter tab and set up the instruments. You can use all the instruments supported by the
rfsiggen (Instrument Control Toolbox) function. This feature requires Instrument Control Toolbox.