%% App-Based 5G NR-TM and FRC Waveform Generation
% This example shows how to use the *5G Waveform Generator* app to generate
% NR test models (NR-TM) and NR uplink and downlink fixed reference channel
% (FRC) waveforms.

% Copyright 2019 The MathWorks, Inc.

%% Open 5G Waveform Generator App
% On the *Apps* tab of the MATLAB(R) 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.
%
%% Select 5G NR Waveform
% In the *Waveform Type* section on the app toolstrip, click the waveform
% you want to generate. You can select any of these waveforms.
%
% * |5G Downlink FRC| 
% * |5G Uplink FRC| 
% * |5G Test Models|  
%% Generate 5G NR Waveform
% In the left pane of the app, on the *Waveform* tab, 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.
% To visualize the waveform, click *Generate*. You can export the generated
% waveform to the MATLAB workspace as a structure in a |.mat| or |.bb| file.
%
% For example, this picture shows the visualization results of a downlink
% FRC waveform using default parameters.
%
% <<../5gwwg_app_screencap.png>>
%% Transmit 5G NR Waveform
% This feature requires <docid:instrument_doccenter#index Instrument
% Control Toolbox(TM)>. 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
% <docid:instrument_ug#mw_79047e46-3dbd-4260-89e2-3d240b9caf8f rfsiggen>
% function.
%

