App-Based 5G NR Channel Design and Analysis
This example shows how to use the Wireless Channel Designer app to design and analyze a 5G NR channel model and how to export the channel configuration (requires 5G Toolbox™).
Open Wireless Channel Designer App
On the Apps tab of the MATLAB® toolstrip, under Signal Processing and Communications, click the Wireless Channel Designer app icon.
Select 5G Channel Type
In the Channel Type section on the app toolstrip, click the 5G TDL channel type icon to configure the app for 5G Toolbox™.
Design and Analyze 5G TDL Channel
Design a 5G TDL channel by using the parameters in the app. Each parameter corresponds to a property of the nrTDLChannel
System object™. On the app toolstrip, in the Analysis section, you can select visualization scopes and set the analysis parameters. When you click Analyze, the app displays the analysis results using the selected scopes.
For example, this figure shows the power delay profile, impulse response, and OFDM response scopes of the 5G TDL channel with default parameters.
Export 5G TDL Channel and Path Gains to MATLAB Workspace or File
To export the 5G TDL channel configuration and path gains, on the app toolstrip, in the Export section, select Export to Workspace or Export to File. The app exports the channel configuration as an nrTDLChannel
object and the path gains as a complex matrix in the MATLAB workspace or a MAT file (.mat
).
Export 5G TDL Channel to MATLAB Script
To export the 5G TDL channel configuration as a MATLAB script, on the app toolstrip, in the Export section, select Export MATLAB Script. You can use the script to programmatically generate the path gains and to pass a waveform through the channel.