% plot_ConstellationIQ - scatter plot of DMF output

%% set parameters
SimpleSetParameters;

%% system simulation
[NumErrors, ResultsStruct] = MCSimple( Parameters );

%% scatter plot of DMF input and output
InSig  = ResultsStruct.Received;
OutSig = ResultsStruct.MFOut;

plot( OutSig, '.')
hold on
plot( complex(ResultsStruct.Scale*Parameters.Alphabet), 'ro')
hold off
axis( 'equal' )
xlabel( 'Real Part' )
ylabel( 'Imag. Part')
grid

%% Store name of script for automated figure generation
ScriptName = mfilename;
